HW 0
HW 0
EE 390
For given table solve questions 1 to 5: Q1. Find the LSB of byte-content stored in physical address (PA) of 00003H : ____ Q2. Find the physical address for the word content of C7EAH : ____________ Q3. Find the most-significant-byte of the Word stored in PA of FFFFDH : _______ Q4. Find the 1 misaligned-words stored in the memory: ________ Q5. Find the last aligned-double-word stored in the memory contents: ______
st
Physical
Address(PA)
Memory
Contents
00000 H 00001 H 00002 H 00003 H 00004 H . . FFFFB H FFFFC H FFFFD H FFFFE H FFFFF H
1 5H 6 AH 4 7H E AH C 7H
0 DH 1 AH 9 CH 8 4H B 6H
Q8. Can 456A8H be a valid segment base address for any 64-KByte segment: (yes/no): __________
Q9. Code segment register stores the leftmost 16bits or 4-hex-digits of the base address of a 64-KByte segment: (yes/no): ___________
Q10. The offset address is stored in ________________ CPU register for a particular memory location within the 64-KByte Code-segment area.
Q11. The offset address of destination-data is stored in ____________ CPU register for a particular memory location within the data-segment area
Q12. If the segment register=2000H and the offset part of the physical address=3456H, then express the physical address: __________ H
Q13. For the given initial values of the CPU registers of DS=7FA2H , SI= 2351H and DI=438EH (a) The calculated physical address (PA) of the destination memory location that is pointed or accessed by CPU
(b) The calculate the lowest (starting) physical address of Data segment.
(c) The calculate the highest (ending) physical address of the Data segment.
(d) Write the Logical address of the destination memory location memory
Q14. For the given values of the CPU registers and the main memory contents below, determine the PAs of the (a) next code to be executed : ____________________________
(d) Extra-segment memory location where destination data can be stored: __________________________
Page 4 out of 4
Q15. If Memory addresses B0000H to BFFFFH is selected to be the new Codesegment, then to point into a location with PA=B1234H, what values should be loaded into the related CPU registers (given in the left side of the figure below).