







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In this document topics covered which are Addressing Modes, Assignment, Base Register Addressing Mode, Relative Addressing Mode, Register Direct Addressing Mode, Direct Addressing Mode.
Typology: Study notes
1 / 13
This page cannot be seen from the preview
Don't miss anything!








OutLine
Objectives & Teaching
Learning Material
Time (in min) Content
Learning Aid and Methodology
Faculty Approach
Typical Student Activity
Skill and Competency Developed
Assembly Language programming
Presentatio n
Presentatio n
Conclusion and Summary Summary^ Facilitates^
Listens Participates
Comprehensio n
Base Register Addressing Mode
Opcode^ Opcode
Base-register addressing also exploits the locality if memory reference
(^) Advantage: (^) It us a convenient means if implementing segmentation.
(^) Disadvantage: (^) Complexity
(^) It us a convenient means if implementing segmentation.
2’s Complement
2’s Complement
Main Memory
Operan d
Base Register
Base Register
E A
Opcode^ Opcode
For indexing the interpretation is typically the following: the address field reference a main memory address, and the referenced register contain a positive displacement from that address. (^) Example:- A[1], a[2]
(^) Advantage: (^) Special Locality
Address^ Address
Main Memory
Operan d
Index Register
Index Register
E A
Comparisons Mode Algorithm Advantage Disadvantage 1 Implied Operand=ΦΦ No Memory references
Limited Computation capability 2 Immediat e
Operand=Φ1 No memory Reference
Limited operand magnitude
Limited address space
1
Register Indirect
EA =Φ (R ) Large address space Extra memory space
2
Relative EA =Φ PC+2’s Complement
Use for control instructions
Complexity
3
Base Register
EA=BA+ 2’s Complement
convenient during segmentation
Complexity
4
Indexed EA= A+ Index value
Accessing array elements Array lower bounds
7 Stack EA=Φ Top of Stack
No memory Reference
Limited Applicability
Displacement Addressing modes
(^) Basic Addressing Modes differences