Professional Documents
Culture Documents
Instruction
Opcode Operand
LOAD 55 ; ACC 55
ADD 55 ; ACC ACC + 55
Instruction
Opcode Address A
Memory
Operand
LOAD M[55] ; ACC [55]
ADD M[55] ; ACC ACC + [55]
Pointer to
operand
Operand
LOAD [M[55]] ;
ADD [M[55]] ;
Operand
LOAD MQ ; ACC MQ
Instruction
Opcode Register Address R
Memory
Registers
Instruction
Opcode Register R Address A
Memory
Registers
• Pre-index
– EA = (A+(R))
Module 3
BASIC ARCHITECTURE
• Control unit and data- Processor
path Control unit Datapath
• Key differences
Registers
– Data-path is general
– Control unit doesn’t
store the algorithm – the PC IR
algorithm is
“programmed” into the
memory I/O
Memory
memory location
I/O
Memory
...
10
11
...
– Get next
Control unit Datapath
ALU
instruction into IR Controller Control
/Status
– PC: program
counter, always
Registers
points to next
instruction PC 100 IR
load R0, M[500] R0 R1
means
Registers
PC 100 IR R0 R1
load R0, M[500]
I/O
datapath register
Registers
10
PC 100 IR R0 R1
load R0, M[500]
I/O
instruction does
nothing during PC 100 IR R0
10
R1
this sub- load R0, M[500]
operation I/O
memory
Registers
– This particular
instruction does PC 100 IR R0
10
R1
nothing during load R0, M[500]