Fourth Semester Core Course Paper: Microprocessors Architecture and Programming
Fourth Semester Core Course Paper: Microprocessors Architecture and Programming
Fourth Semester
Core Course Paper
MICROPROCESSORS ARCHITECTURE AND
PROGRAMMING
Module iV
SANAL KUMAR S
Asst Professor
Dept of Instrumentation
NSS College, Nemmara, Palakkad.
678508
3
1) Introduction to 8086/88 microprocessors – overview.
4
1) Introduction to 8086/88 microprocessors – overview.
5
2.8086 internal architecture. The execution unit, BIU, Registers, Flags.
6
2.8086 internal architecture. The execution unit, BIU, Registers, Flags.
7
2.8086 internal architecture. The execution unit, BIU, Registers, Flags.
8
2.8086 internal architecture. The execution unit, BIU, Registers, Flags.
9
2.8086 internal architecture. The execution unit, BIU, Registers, Flags.
10
2.8086 internal architecture. The execution unit, BIU, Registers, Flags.
11
2.8086 internal architecture. The execution unit, BIU, Registers, Flags.
12
3. Segmentation, physical address calculation.
13
3. Segmentation, physical address calculation.
14
3. Segmentation, physical address calculation.
Memory segmentation is nothing which is the methods where whole memory is divided
into the smaller parts. In 8086 microprocessor memory are divided into four parts which
is known as the segments. These segments are data segment, code segment, stack
segment and extra segment.
The total memory size is divided into segments of various sizes. A segment is just an
area in memory. The process of dividing memory this way is called Segmentation.
In memory, data is stored as bytes. Each byte has a specific address. Intel 8086 has 20
lines address bus. With 20 address lines, the memory that can be addressed is 2 power20
bytes. 2power20= 1,048,576 bytes (1 MB). 8086 can access memory with address It
ranges fro m 0 0 0 0 H t o FFFFFH
15
3. Segmentation, physical address calculation.
In 8086, memory has four different types of segments. These are:
Code Segment
Data Segment
Stack Segment
Extra Segment
How is a 20-bit address obtained if there are only 16- bit registers?
The 20-bit address of a byte is called its physical Address.
But, it is specified as a Logical Address.
Logical address is in the form of: Base Address : Offset
Offset is the displacement of the memory location from the starting location of the
segment
16
3. Segmentation, physical address calculation.
17
3. Segmentation, physical address calculation.
The 8086 addresses a segmented memory.
The complete physical address which is 20-bits long is generated using segment and offset
registers each of the size 16-bit.
The content of a segment register also called as segment address, and content of an offset
register also called as offset address.
To get total physical address, put the lower nibble 0H to segment address and add offset
address. The figure shows the formation of 20-bit physical address.
18
3. Segmentation, physical address calculation.
19
3. Segmentation, physical address calculation.
20
3. Segmentation, physical address calculation.
21
3. Segmentation, physical address calculation.
22
3. Segmentation, physical address calculation.
PA = DS*10 + IP
23
4. Addressing modes.
24
4.Addressing modes.
25
4.Addressing modes.
26
4.Addressing modes.
27
4.Addressing modes.
28
4.Addressing modes.
29
4.Addressing modes.
30
4.Addressing modes.
31
4.Addressing modes.
32
4.Addressing modes.
33
Short Questions and Answers
34
Short Questions and Answers
35
Short Questions and Answers
36
Short Questions and Answers
37
Short Questions and Answers
38
Short Questions and Answers
39
Short Questions and Answers
40
Short Questions and Answers
41
Short Questions and Answers
42
Short Questions and Answers
43
44