2 MPMC-K Radhika-ECE
2 MPMC-K Radhika-ECE
K. RADHIKA
Associate Professor
Department of ECE
Jyothishmathi Institute of Technology & Science
INTRODUCTION TO 8086
Overview of Microcomputer Systems
Two principal components
1. Hardware
• CPU,
• Timing circuits
• Memory Units
• Input / Output Subsystems
• Bus control Logic
• System Bus
2. Software
• System Software
• User Software
K.Radhika, ECE, JITS
OPERATION OF ΜP
1. Fetch 2. Decode
3. Execute
CPU 20
Memory
8086 Data Bus
16
Control Bus
EU AX AH AL Accumulator
Registers BX BH BL Base Register
CX CH CL Count Register
DX DH DL Data Register
SP Stack Pointer
BP Base Pointer
SI Source Index Register
DI Destination Index Register
K.Radhika, ECE, JITS Flags Flag Register
THE 8086 MICROPROCESSOR: REGISTERS
In total there are Fourteen 16-bit registers in an 8086
00000 20000
1FFFF FFFFF
F0000
E0000
5000:FFFF
D0000
Starting Address of each segment
C0000
B0000
A0000
90000
80000 5000:0250
70000
60000
50000 5000:0000
40000
SegAddr:Offset
30000
20000
10000
00000
K.Radhika, ECE, JITS
8086 Architecture (continued…)
Physical Memory Address Generation
The BIU has a dedicated adder for determining
Physical memory addresses
Adder
Carry flag
Overflow flag
Parity flag
Direction flag
Interrupt enable Auxiliary flag
Trap flag Zero flag
6 - status flags
3 - control flags Sign flag
• Control flags:
– Used to control some operations of the MPU.
– These flags are to be set by the user, in order to
achieve some specific purposes.