Professional Documents
Culture Documents
Intel MP 8086
Intel MP 8086
Intel 8086
2
Intel 8086
3
8086 Clock generator (8284)
4
Instruction Queue
5
Memory Segmentation
7
Data Access Strategy of 8086
8
8086 Architecture
9
Logical to Physical Address Calculation
• BIU/EU
• BIU does the address calculation
• Programmer provide the Code segment (16bit) and Instruction pointer
offset(16bit) values
• BIU calculate the 20 bit physical value
• 4 bit Left shift of CS value and add the IP offset values
10
Logical to Physical Address Calculation
• Imagine, the content of CS is 1601h. IP contains 1010h. Both are 16 bit contents.
• BIU is responsible for the physical address calculation. What is the 20 bit physical
address based on current values of CS and IP?
• 17020h
11
Addressing Modes of 8086
• Five groups
–Memory mode
–I/O mode
12
Addressing Modes of 8086
MOV AL,DL
OR
MOV CL,VALUE
13
Addressing Modes of 8086
START=0040h, [DS]=3050h, What are addresses from which data will be transferred in CX?
14
Addressing Modes of 8086
MOV ALPHA[SI][BX]
15
8086 Pins
16
8086 Pins
17
8086 Pins
18
8086 Pins
19
8086 Pins
20
Minimum Mode Pins
21
Minimum Mode Pins
22
Maximum Mode Pins
23
Maximum Mode Pins
24
Maximum Mode Pins
25
Address Latch Enable (ALE)
26
8086 Interrupt
27
Types of Interrupt
Software Interrupt
• 0-4 = Predefined Interrupts
• 5-31 Reserved by Intel for future use
• 32-255 Maskable interrupt
28
Predefined Interrupts
29
CS and IP Calculation
• INT nn
• Address for IP = 4 * nn
• Address for CS ==(4 * nn ) + 2
• Remember nn should be in decimal
30
CS and IP Calculation
• A user calls INT 21H, then from which physical address the value will be loaded to
CS and IP?
• If CS and IP will load with the value 40ADh, and 0FD84H, then what will be the
physical address of the ISR?
–21H is 33 in decimal
31