CS-401 Assembly Language Programming Lecture-4 Computer Architecture & Assembly Language Programming
In the Last Lecture We discussed a program with a listing file.
In Today’s Lecture We will discuss Debugger
Physical address calculation
Physical Address Calculation 16-bit segment 16-bit offset 0 0 0 0 0 0 0 0 20-bit segment + 20-bit offset 20-bit Physical Address
20 –Bit Physical Address Calculation 1 D D D 0 0 0 1 0 0 1 D E D 0 + 20 –Bit Physical Address Calculation
Segment Base 16 – Bit Segment Register Value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 – Bit Segment = 0 Decimal
Segment Base 16 – Bit Segment Register Value 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 20 – Bit Physical Address = 16 Decimal