Professional Documents
Culture Documents
INF1100, UiT
logic gates
Quite central conceptually
ç√
Memory stores programs and data
Memory access:
1. Load Memory Address Register
2. If read: get data fromç√ Memory Data Register
ç√
3. If write: put data in MDR
Memory access:
1. Load Memory Address Register
2. If read: get data fromç√ Memory Data Register
Instructions
The smallest atomic unit of work: it either happens or it does not
ç√
Instructions
The smallest atomic unit of work: it either happens or it does not
ç√
Instructions
The smallest atomic unit of work: it either happens or it does not
ç√
Instructions
The smallest atomic unit of work: it either happens or it does not
ç√
Instructions
The smallest atomic unit of work: it either happens or it does not
ç√
Destination operand,
where the result should go (if any)
ç√
Instructions
The smallest atomic unit of work: it either happens or it does not
ç√
Instructions
The smallest atomic unit of work: it either happens or it does not
ç√
Instructions
The smallest atomic unit of work: it either happens or it does not
ç√
The instruction cycle
How the Control Unit makes everything go
ç√
ç√
5. EXECUTE: The processing unit performs the operation
ç√
6. STORE RESULT: write the result to where it goes
The instruction cycle
How the Control Unit makes everything go
ç√
1. FETCH
ç√
Increment PC to point to
next instruction
2. DECODE
ç√
2. DECODE
ç√
ç√
ç√
3. EVALUATE
ADDRESS
ç√
ç√
4. FETCH
OPERANDS
ç√
4. FETCH
OPERANDS
ç√
4. FETCH
OPERANDS
ç√
4. FETCH
OPERANDS
ç√
5. EXECUTE
ç√
5. EXECUTE
Do the thing
ç√
6. STORE
RESULT
ç√
6. STORE
RESULT
ç√
6. STORE
RESULT
ç√
REPEAT UNTIL POWEROFF
ç√
ç√