Professional Documents
Culture Documents
Lec 1 8086 Microprocessor
Lec 1 8086 Microprocessor
Lecture 1
Hardware Architecture
Physical Address Generation
• 40 pins
• 16-bit architecture
• Clock Rate : 5Mhz-
10MHz max
• 20 bit address bus
BY: Tsegamlak Terefe
10/21/2019 4
Architecture
[Register Level]
Base Index (BX): 16 bit register which is used to hold temporary value or
offset address to memory location.
Count (CX): 16 bit register which is used to hold temporary value or count
value for loop instructions.
Data (DX): 16 bit register which is used to hold the result of multiplication
, part of dividend before division ,temporary data and port address for I/O.
AX,BX,CX,DX
16
AH,BH,CH,DH AL,BL,CL,DL
8 8
Parity (P) : This bit will be set if the lower bytes of a result
contains an even number of ones.
Auxiliary Carry (AC) : This bit will be set if there is a carry out or
borrow from the lower nibble of addition and subtraction
respectively.
Sign flag (S) : This bit will be set if an arithmetic operation results in a
negative value.
Over flow (O) : This bit will be set if an instruction produce a result that
can not be held by the available registers.
The BIU unit is capable of fetching up to six instructions in its FIFO queue .
This is done while the EU is decoding and executing instruction i.e. where
the EU is not using the BUS.
Hence when the EU finishes the execution of the current instruction it will
simply fetch the next instruction if the current executed instruction dose
not require a branch or jump (control transfer instruction in general).
For testing
EMU8086