Buses and Addressing Modes.ppt
Buses and Addressing Modes.ppt
peripherals
peripherals
peripherals
peripherals
Peripherals
or
Memory
Data BUS (16 bit)
8086
CPU Address BUS (20 bit)
Control BUS
Buses and Addressing Modes.ppt
0
7 15 8 0
7
Address
BUS (20 bit)
Address
BUS (20 bit)
Data BUS
(16 bit)
Data
BUS
(16
bit) (D8-D15)
(D0-D7)
1MB 512KB 512KB
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
1MB 0
7
S4
64KB
S1
64KB
S3
64KB
S2
64KB
00000H
FFFFFH
S4
64KB
S1
64KB
S3
64KB
S2
64KB
S4
64KB
S1
64KB
S3
64KB
S2
64KB
S4
64KB
S1
64KB
S3
64KB
S2
64KB
XXXX:0000
XXXX:FFFF
XXXX:0000
XXXX:FFFF
XXXX:0000
XXXX:FFFF
XXXX:0000
XXXX:FFFF
X100:0000
X100:FFFF
Buses and Addressing Modes.ppt
OFFSET VALUE
15 0
Effective Address
EA
SEGMENT REGISTER
15 0
Segment Base Register
SBA
0000
20-BIT
19 0
Physical Memory Address
PA
Adder
0
7
SEGMENT
64KB
00000h
FFFFFh
0022h
15 0
1234h
15 0
0h
SBA+EA=12340+0022=12362
19 0
Adder
EA
SBA PA
12340h
12362h
=
22
+
PA = SBR or (SR) : EA
= : + +
The Operand resides
in an internal Register.
Examples:
AND AL,DH
AND BX,CX
The Operand is a part
of the Instruction.
Examples:
AND AL,80h
AND 0800h,BX
Direct Add.
Register
indirect Add.
Based Add.
Indexed Add.
Based
Indexed Add.
CS
DS
ES
SS
BX
BP
SI
DI
8-BIT or
16-BIT Displacement
It is a method for specifying an Operand
1. Direct Addressing Mode
PA = SBR or (SR) : EA
= : + +
CS
DS
ES
SS
BX
BP
SI
DI
8-BIT or
16-BIT Displacement
= :
CS
DS
ES
SS
Direct Address
Examples:
AND AL,[1234h]
AND CX,[0FEDBh]
AND BL,ES:[52DBh]
0
7
SEGMENT
64KB
00000h
FFFFFh
1234h
15 0
DS
15 0
0h
PA=SBA:EA=DS:1234h
19 0
Adder
EA
SBA PA
DS:0000h
DS:1234h
=
1234h
+
1. Direct Addressing Mode
Examples: AND AL,[1234h]
2. Register Indirect Addressing Mode
PA = SBR or (SR) : EA
= : + +
CS
DS
ES
SS
SI
DI
8-BIT or
16-BIT Displacement
= :
CS
DS
ES
SS
Examples:
AND AL,[SI]
AND CX,[DI]
AND BL,ES:[BX]
BX
BP
SI
DI
0
7
SEGMENT
64KB
00000h
FFFFFh
Let BX=ABCDh
15 0
ES
15 0
0h
PA=SBA:EA=ES:ABCDh
19 0
Adder
EA
SBA PA
ES:0000h
ES:ABCDh
=
ABCDh
+
2. Register Indirect Addressing Mode
EXAMPLE: AND BL,ES:[BX]
3. Based Addressing Mode
PA = SBR or (SR) : EA
= : + +
CS
DS
ES
SS
BX
BP
SI
DI
8-BIT or
16-BIT Displacement
Examples:
AND AL,[BX]+1234h
AND CX,[BP] [1234]
AND BL,ES:[BX+12FEh]
= : +
CS
DS
ES
SS
BX
BP
8-BIT or
16-BIT Displacement
0
7
SEGMENT
64KB
00000h
FFFFFh
EA=1236h
15 0
SS
15 0
0h
PA=SBA:EA=SS:1236h
19 0
Adder
EA
SBA PA
SS:0000h
=
1236h
+
3. Based Addressing Mode
EXAMPLE: AND CX,[BP] [1234h]
OFFSET=1234h
Let BP=0002h
=
+
SS:1236h
SS:1237h
4. Indexed Addressing Mode
PA = SBR or (SR) : EA
= : + +
CS
DS
ES
SS
BX
BP
SI
DI
8-BIT or
16-BIT Displacement
= : +
CS
DS
ES
SS
Examples:
AND AL,[SI] [50]
AND CX,[SI] [1234h]
AND BL,ES:[DI+12FEh]
DI
SI
8-BIT or
16-BIT Displacement
0
7
SEGMENT
64KB
00000h
FFFFFh
EA=234Ah
15 0
DS
15 0
0h
PA=SBA:EA=DS:234Ah
19 0
Adder
EA
SBA PA
DS:0000h
=
234Ah
+
4. Indexed Addressing Mode
EXAMPLE: AND CX,[SI] [2345h]
OFFSET=2345h
Let SI=0005h
=
+
DS:234Ah
DS:234Bh
5. Based Indexed Addressing Mode
PA = SBR or (SR) : EA
= : + +
CS
DS
ES
SS
BX
BP
SI
DI
8-BIT or
16-BIT Displacement
Examples:
AND AL,[SI]+[BX]+[1234h]
AND CX,[DI] [BP] [1234h]
AND BL,CS:[BX+DI+12FEh]
0
7
SEGMENT
64KB
00000h
FFFFFh
EA=0236h
15 0
DS
15 0
0h
PA=SBA:EA=DS:0236h
19 0
Adder
EA
SBA PA
DS:0000h
=
0236h
+
5. Based Indexed Addressing Mode
EXAMPLE: AND CX,[SI] [BX] [1230h]
OFFSET=0230h
Let SI=0004h
=
+
DS:0236h
DS:0237h
Let BX=0002h
+
 Try to calculate the physical address for the
examples and the related assignments of
TEXT BOOK / chapter two.
18
،‫آذار‬
23 By M.H.AZIZ
 16 – bit 2 Bytes
 Lower Byte D0 –D7
 Upper Byte D8 –D15
 Used to transfer DATA between CPU
and Memory.
 20 – bit
 One way BUS from CPU to Memory
 Addresses up to 1M Byte of Memory
 Generated by CPU to locate a specific Byte or Word in Memory
 Physical Address (PA) : Physical Byte address in Memory
 Effective Address (EA) : a number added to Segment Register
contents and gives PA
 Segment Register is either CS, DS, ES or SS
 i.e. : PA(20-bit) = SR(16-bit) + EA(16-bit)
 Digital signals generated either by CPU or
by other Supporting ICs
 They manages the whole CPU operations
 Some of them called Control signals, the
others called Status signals
 Control signals direction is from CPU
to Memory and other Supporting ICs.
 Status signals direction is from
Supporting ICs to CPU.

More Related Content

PDF
Memory and 20 bit physical address calculation.pdf
PPTX
1st course summary.pptx
PPTX
Addressing modes
PPTX
Addressing modes
PPTX
Addressingmodes
PPTX
Microprocessor Chapter3 hawassa Univetsi
PDF
Assembly code
PPT
Chapter 2 The 8088 Microprocessor
Memory and 20 bit physical address calculation.pdf
1st course summary.pptx
Addressing modes
Addressing modes
Addressingmodes
Microprocessor Chapter3 hawassa Univetsi
Assembly code
Chapter 2 The 8088 Microprocessor

Similar to Buses and Addressing Modes.ppt (20)

PPT
Unit 2 8086 Instruction set.ppt notes good
PDF
HKG15-405: Redundant zero/sign-extension elimination in GCC
PPTX
Mastering Assembly Language: Programming with 8086
PPTX
Lecture 9 examples (1)
PPT
SAURABH MITRA-8086 MICROPROCESSOR
PPTX
8086 microprocessor pptx JNTUH ece 3rd year
PDF
8086addressingmodes-200319141110.pdf
PPTX
8086 addressing modes
PPT
8086-instruction-set-ppt
PPTX
Introduction of 8086 micro processor .
PPT
a wounderful lecture on microprocessor 8086
PPT
Cha_2b_8086-Instruction-set-ppt microprocessor
PDF
Microprocessor Part 3
PPTX
Basic computer organization design
PPTX
8086 Micro-processor and MDA 8086 Trainer Kit
PPT
PDF
ARM 64bit has come!
PPTX
17. memory interfacing iii
PDF
Instruction formats-in-8086
Unit 2 8086 Instruction set.ppt notes good
HKG15-405: Redundant zero/sign-extension elimination in GCC
Mastering Assembly Language: Programming with 8086
Lecture 9 examples (1)
SAURABH MITRA-8086 MICROPROCESSOR
8086 microprocessor pptx JNTUH ece 3rd year
8086addressingmodes-200319141110.pdf
8086 addressing modes
8086-instruction-set-ppt
Introduction of 8086 micro processor .
a wounderful lecture on microprocessor 8086
Cha_2b_8086-Instruction-set-ppt microprocessor
Microprocessor Part 3
Basic computer organization design
8086 Micro-processor and MDA 8086 Trainer Kit
ARM 64bit has come!
17. memory interfacing iii
Instruction formats-in-8086
Ad

More from HebaEng (20)

PDF
lectNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN2.pdf
PDF
lectااتتتتاارررررررررررررررررررررررررررر1.pdf
PDF
M2M_250327_22434hjjik7_250411_183538.pdf
PDF
M3M_250327ggggt_224420_250411_183353.pdf
PDF
MATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdf
PPTX
Estimate the value of the following limits.pptx
PDF
lecrfigfdtj x6 I f I ncccfyuggggrst3.pdf
PPTX
LECtttttttttttttttttttttttttttttt2 M.pptx
PDF
lect4ggghjjjg t I c jifr7hvftu b gvvbb.pdf
PDF
lect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdf
PPTX
sensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptx
PDF
Homework lehhhhghjjjjhgd thvfgycture 1.pdf
PDF
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PPT
lecture1ddddgggggggggggghhhhhhh (11).ppt
PDF
math6.pdf
PDF
math1مرحلة اولى -compressed.pdf
PDF
digital10.pdf
PDF
PIC Serial Communication_P2 (2).pdf
PPTX
Instruction 3.pptx
PPTX
IO and MAX 2.pptx
lectNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN2.pdf
lectااتتتتاارررررررررررررررررررررررررررر1.pdf
M2M_250327_22434hjjik7_250411_183538.pdf
M3M_250327ggggt_224420_250411_183353.pdf
MATHLECT1LECTUREFFFFFFFFFFFFFFFFFFHJ.pdf
Estimate the value of the following limits.pptx
lecrfigfdtj x6 I f I ncccfyuggggrst3.pdf
LECtttttttttttttttttttttttttttttt2 M.pptx
lect4ggghjjjg t I c jifr7hvftu b gvvbb.pdf
lect5.gggghhhhhhhhhhhhyyhhhygfe6 in b cfpdf
sensorshhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.pptx
Homework lehhhhghjjjjhgd thvfgycture 1.pdf
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
lecture1ddddgggggggggggghhhhhhh (11).ppt
math6.pdf
math1مرحلة اولى -compressed.pdf
digital10.pdf
PIC Serial Communication_P2 (2).pdf
Instruction 3.pptx
IO and MAX 2.pptx
Ad

Recently uploaded (20)

PPTX
URBAN FINANCEnhynhynnnytnynnnynynyynynynyn
PPTX
22CDH01-V3-UNIT-I INTRODUCITON TO EXTENDED REALITY
PPTX
UNITy8 human computer interac5ion-1.pptx
PDF
Instagram Marketing in 2025 Reels, Stories, and Strategy (14) (2).pdf
PPTX
SOBALAJE WORK.pptxe4544556y8878998yy6555y5
PPT
Introduction to Research Methods - Lecture.ppt
PPTX
Bitcoin predictor project presentation
PPT
416170345656655446879265596558865588.ppt
PPTX
UNIT II - UID FOR MOBILE GAMES[INTRODUCTION TO MOBILE GAME DESIGN]
PPTX
Presentation1.pptxnmnmnmnjhjhkjkjkkjkjjk
PDF
Social Media USAGE .............................................................
PDF
The Basics of Presentation Design eBook by VerdanaBold
PPT
EthicsNotesSTUDENTCOPYfghhnmncssssx sjsjsj
PDF
How Animation is Used by Sports Teams and Leagues
PDF
Clay-Unearthing-its-Mysteries for clay ceramics and glass molding
PDF
Timeless Interiors by PEE VEE INTERIORS
PPTX
Drafting equipment and its care for interior design
PDF
Govind singh Corporate office interior Portfolio
PPT
aksharma-dfs.pptgfgfgdfgdgdfgdfgdgdrgdgdgdgdgdgadgdgd
PPTX
Presentation.pptx anemia in pregnancy in
URBAN FINANCEnhynhynnnytnynnnynynyynynynyn
22CDH01-V3-UNIT-I INTRODUCITON TO EXTENDED REALITY
UNITy8 human computer interac5ion-1.pptx
Instagram Marketing in 2025 Reels, Stories, and Strategy (14) (2).pdf
SOBALAJE WORK.pptxe4544556y8878998yy6555y5
Introduction to Research Methods - Lecture.ppt
Bitcoin predictor project presentation
416170345656655446879265596558865588.ppt
UNIT II - UID FOR MOBILE GAMES[INTRODUCTION TO MOBILE GAME DESIGN]
Presentation1.pptxnmnmnmnjhjhkjkjkkjkjjk
Social Media USAGE .............................................................
The Basics of Presentation Design eBook by VerdanaBold
EthicsNotesSTUDENTCOPYfghhnmncssssx sjsjsj
How Animation is Used by Sports Teams and Leagues
Clay-Unearthing-its-Mysteries for clay ceramics and glass molding
Timeless Interiors by PEE VEE INTERIORS
Drafting equipment and its care for interior design
Govind singh Corporate office interior Portfolio
aksharma-dfs.pptgfgfgdfgdgdfgdfgdgdrgdgdgdgdgdgadgdgd
Presentation.pptx anemia in pregnancy in

Buses and Addressing Modes.ppt