SlideShare a Scribd company logo
10/26/2014
1
Computer Organization
Instructors :
Dr. Abdul Raouf Khan
Mr.Marwan El-Haj
Basic Computer Organization and
Design
:Program: It is a set of instructions, that specify
the sequence by which processing has to
occur.
Instruction code: Is a group of bits that instruct
the computer to perform a specific operation.
It is divided into two parts:
a) Operation code b) Operand
10/26/2014
2
Operation code:
The operation code (op code) is a group of
bits that define the operation to be performed
e.g. ADD, SUB, MUL, XOR, etc
The op code has at least ‘n’ bits for a given
2n (or less) distinct operations.
Operand
The operand is the data on which action is to
be performed
e. g
ADD B
Mov x
Etc
10/26/2014
3
Stored Program Organization
Addressing
1. Immediate addressing: when the second
part of the an instruction code specifies an
operand, the instruction is said to have an
immediate operand
2. Direct addressing: when the second part of
an instruction code specifies the address of
an instruction
10/26/2014
4
Addressing contd
3. Indirect addressing: when the second part of
an instruction code specifies the address of a
memory word in which the address of an
operand is found, the instruction is said to
have an indirect address.
Instruction format
10/26/2014
5
Computer Registers
The computer needs processor registers for
manipulating data and a register for holding
address.
The following are the registers needed for a
basic computer and there functions are listed
as well
Computer Registers
10/26/2014
6
Computer Registers
10/26/2014
7
Data transfer
Bus register / memory
From Memory to Bus Read Control of
Memory Should be 1
S2 S1 S0 Decimal equivalent Register
0 0 1 1 AR
0 1 0 2 PC
0 1 1 3 DR
1 0 0 4 AC
1 0 1 5 IR
1 1 0 6 TR
1 1 1 7 Memory
Data transfer
From bus to register
Register bus , load input LD = 1
From bus to memory
Write input WR = 1
10/26/2014
8
Question?
Can We Swap the Contents of two registers
in one Cycle? Explain

More Related Content

PPS
Registers and-common-bus
DOC
Instruction codes
PPTX
Digital signal processing
PPTX
Memory Reference Instructions
PPTX
memory reference instruction
PPTX
Memory Reference Instructions
PPT
Registers
PPTX
Addressing Modes
Registers and-common-bus
Instruction codes
Digital signal processing
Memory Reference Instructions
memory reference instruction
Memory Reference Instructions
Registers
Addressing Modes

What's hot (18)

PPTX
Micro program example
PDF
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
PPTX
Instruction codes
PPTX
Computer System Architecture
PPTX
Addressing mode
PDF
Lecture 9 310h-2
PPT
Addressing modes
PPT
Addressing modes (detailed data path)
PPTX
Addressing modes
PPT
Patt patelch04
PPT
Addressing mode of 8051
PPTX
addressing modes
PPT
B.sc cs-ii-u-3.2-basic computer programming and micro programmed control
PPT
Addressing modes
PPTX
Addressing modes
PPT
Memory reference instruction
PPTX
Computer Organisation - Addressing Modes
PDF
BASIC COMPUTER ORGANIZATION AND DESIGN
Micro program example
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Instruction codes
Computer System Architecture
Addressing mode
Lecture 9 310h-2
Addressing modes
Addressing modes (detailed data path)
Addressing modes
Patt patelch04
Addressing mode of 8051
addressing modes
B.sc cs-ii-u-3.2-basic computer programming and micro programmed control
Addressing modes
Addressing modes
Memory reference instruction
Computer Organisation - Addressing Modes
BASIC COMPUTER ORGANIZATION AND DESIGN
Ad

Viewers also liked (20)

PDF
Lect13 organization
PPTX
Greedy algorithm
PPTX
Activity selection 2
PDF
Lect9 organization
PPTX
Complexity theory 3
PDF
Lect14 organization
PPTX
Topological sort
PPTX
Complexity theory 2
PDF
Lect7 organization
PPTX
Lecture02
PPTX
PPTX
Bfs and dfs
PPTX
Floyd warshal 2
PPTX
Chain matrix multiplication
PPTX
PPTX
Minimum spanning trees
PDF
Lect10 organization
PDF
Lect6 organization
PDF
Lect8 organization
PPTX
Dijekstra
Lect13 organization
Greedy algorithm
Activity selection 2
Lect9 organization
Complexity theory 3
Lect14 organization
Topological sort
Complexity theory 2
Lect7 organization
Lecture02
Bfs and dfs
Floyd warshal 2
Chain matrix multiplication
Minimum spanning trees
Lect10 organization
Lect6 organization
Lect8 organization
Dijekstra
Ad

Similar to Lect5 organization (20)

PPTX
instruction format.pptx
PDF
Basics of Computer Organization and Design
PPT
Basic computer organization
PPTX
Instruction Codes.pptx
PPTX
COA.pptx
PDF
computer organization.pdf
PPTX
Computer Organization and Design.pptx
PDF
Computer organiztion5
PDF
Ca basic computer organization
PPTX
material for studentbasic computer organization and design .pptx
PPTX
Computer organization and architecture chapter 5
PPTX
instruction sets (1).pptx
PPTX
Unit 1 computer architecture (1)
PPTX
Unit2pptx__2021_12wqeqw_27_08_56_15 (1).pptx
PPTX
Module-2 gitam engineering college PPT.pptx
PPT
Ch5 oKNKKKKKKKKKKKKKfficial(1).pptMKKMKMKMKM
PPT
Ch5 official.ppt
PPT
Unit. 3 coa.ppt
PPT
BASIC COMPUTER ORGANIZATION AND DESIGN.ppt
PDF
cse211 power point presentation for engineering
instruction format.pptx
Basics of Computer Organization and Design
Basic computer organization
Instruction Codes.pptx
COA.pptx
computer organization.pdf
Computer Organization and Design.pptx
Computer organiztion5
Ca basic computer organization
material for studentbasic computer organization and design .pptx
Computer organization and architecture chapter 5
instruction sets (1).pptx
Unit 1 computer architecture (1)
Unit2pptx__2021_12wqeqw_27_08_56_15 (1).pptx
Module-2 gitam engineering college PPT.pptx
Ch5 oKNKKKKKKKKKKKKKfficial(1).pptMKKMKMKMKM
Ch5 official.ppt
Unit. 3 coa.ppt
BASIC COMPUTER ORGANIZATION AND DESIGN.ppt
cse211 power point presentation for engineering

More from Maher Alshammari (16)

PDF
Cis cvs risc
PDF
Lect12 organization
PDF
Lect15 organization
PDF
Lect1 organization 2
PDF
Lect11 organization
PDF
Lect4 organization
PDF
Lect2 organization 2
PDF
Lect3 organization 2
PPTX
Matrix chain multiplication 2
PPTX
Edit distance problem
PPTX
Merge sort
PPT
Lecture01
PPTX
Matrix chain multiplication
PPTX
Bellman ford and floyd warshal
PPTX
Dijekstra algorithm
PPTX
Greedy algorithm huffman encoding
Cis cvs risc
Lect12 organization
Lect15 organization
Lect1 organization 2
Lect11 organization
Lect4 organization
Lect2 organization 2
Lect3 organization 2
Matrix chain multiplication 2
Edit distance problem
Merge sort
Lecture01
Matrix chain multiplication
Bellman ford and floyd warshal
Dijekstra algorithm
Greedy algorithm huffman encoding

Recently uploaded (20)

PPTX
Slide_Egg-81850-About Us PowerPoint Template Free.pptx
PPTX
CPAR7 ARTS GRADE 112 LITERARY ARTS OR LI
PPTX
SAPOTA CULTIVATION.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
PPTX
EJ Wedding 520 It's official! We went to Xinyi District to do the documents
PPTX
current by laws xxxxxxxxxxxxxxxxxxxxxxxxxxx
PDF
waiting, Queuing, best time an event cab be done at a time .pdf
PPTX
unit5-servicesrelatedtogeneticsinnursing-241221084421-d77c4adb.pptx
PDF
TUTI FRUTI RECETA RÁPIDA Y DIVERTIDA PARA TODOS
PDF
DPSR MUN'25 (U).pdf hhhhhhhhhhhhhbbnhhhh
PPTX
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
slide head and neck muscel for medical students
PPTX
vsfbvefbegbefvsegbthnmthndgbdfvbrsjmrysnedgbdzndhzmsr
PPTX
Brown and Beige Vintage Scrapbook Idea Board Presentation.pptx.pptx
PPTX
Military history & Evolution of Armed Forces of the Philippines
PPTX
G10 HOMEROOM PARENT-TEACHER ASSOCIATION MEETING SATURDAY.pptx
PPTX
Socio ch 1 characteristics characteristics
PPTX
400kV_Switchyard_Training_with_Diagrams.pptx
PDF
the saint and devil who dominated the outcasts
PPTX
Lesson 1-Principles of Indigenous Creative Crafts.pptx
PPT
Jaipur Sculpture Tradition: Crafting Marble Statues
Slide_Egg-81850-About Us PowerPoint Template Free.pptx
CPAR7 ARTS GRADE 112 LITERARY ARTS OR LI
SAPOTA CULTIVATION.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
EJ Wedding 520 It's official! We went to Xinyi District to do the documents
current by laws xxxxxxxxxxxxxxxxxxxxxxxxxxx
waiting, Queuing, best time an event cab be done at a time .pdf
unit5-servicesrelatedtogeneticsinnursing-241221084421-d77c4adb.pptx
TUTI FRUTI RECETA RÁPIDA Y DIVERTIDA PARA TODOS
DPSR MUN'25 (U).pdf hhhhhhhhhhhhhbbnhhhh
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
slide head and neck muscel for medical students
vsfbvefbegbefvsegbthnmthndgbdfvbrsjmrysnedgbdzndhzmsr
Brown and Beige Vintage Scrapbook Idea Board Presentation.pptx.pptx
Military history & Evolution of Armed Forces of the Philippines
G10 HOMEROOM PARENT-TEACHER ASSOCIATION MEETING SATURDAY.pptx
Socio ch 1 characteristics characteristics
400kV_Switchyard_Training_with_Diagrams.pptx
the saint and devil who dominated the outcasts
Lesson 1-Principles of Indigenous Creative Crafts.pptx
Jaipur Sculpture Tradition: Crafting Marble Statues

Lect5 organization

  • 1. 10/26/2014 1 Computer Organization Instructors : Dr. Abdul Raouf Khan Mr.Marwan El-Haj Basic Computer Organization and Design :Program: It is a set of instructions, that specify the sequence by which processing has to occur. Instruction code: Is a group of bits that instruct the computer to perform a specific operation. It is divided into two parts: a) Operation code b) Operand
  • 2. 10/26/2014 2 Operation code: The operation code (op code) is a group of bits that define the operation to be performed e.g. ADD, SUB, MUL, XOR, etc The op code has at least ‘n’ bits for a given 2n (or less) distinct operations. Operand The operand is the data on which action is to be performed e. g ADD B Mov x Etc
  • 3. 10/26/2014 3 Stored Program Organization Addressing 1. Immediate addressing: when the second part of the an instruction code specifies an operand, the instruction is said to have an immediate operand 2. Direct addressing: when the second part of an instruction code specifies the address of an instruction
  • 4. 10/26/2014 4 Addressing contd 3. Indirect addressing: when the second part of an instruction code specifies the address of a memory word in which the address of an operand is found, the instruction is said to have an indirect address. Instruction format
  • 5. 10/26/2014 5 Computer Registers The computer needs processor registers for manipulating data and a register for holding address. The following are the registers needed for a basic computer and there functions are listed as well Computer Registers
  • 7. 10/26/2014 7 Data transfer Bus register / memory From Memory to Bus Read Control of Memory Should be 1 S2 S1 S0 Decimal equivalent Register 0 0 1 1 AR 0 1 0 2 PC 0 1 1 3 DR 1 0 0 4 AC 1 0 1 5 IR 1 1 0 6 TR 1 1 1 7 Memory Data transfer From bus to register Register bus , load input LD = 1 From bus to memory Write input WR = 1
  • 8. 10/26/2014 8 Question? Can We Swap the Contents of two registers in one Cycle? Explain