Lecture #03, Microprocessor
Lecture #03, Microprocessor
BIU has
- segment registers,
- instruction pointer,
- address generation and bus control logic block,
- instruction queue.
EU has
- general purpose registers,
- ALU,
- control unit,
- instruction register,
- flag (or status) register.
Basic Architecture of 8086
Main jobs performed by BIU are-
(i) All external bus operations.
(ii) Instruction fetching,
(iii) Reading/writing of data/operands for
memory,
(iv) Inputting/outputting of data for
peripheral devices.
(v) Filling instruction queue.
(vi) Address generation.
Basic Architecture of 8086
Main jobs performed by EU are-
(i) Decoding/execution of instructions.
(ii) It accepts instructions from output end
of instruction queue and
data from general purpose registers or
memory.
(iii) It generates operand addresses when
necessary, hands them over to BIU to perform
read or write cycle to memory or I/O devices.
(iv) EU tests status of flags in control register
and updates them when executing
instructions.
(v) EU waits for instructions from
instruction queue, when it is empty.