1.- Show how the double word 12345678 16 is storedin memory starting at address
ID: 3613646 • Letter: 1
Question
1.- Show how the double word 1234567816 is storedin memory starting at address A00116. Is the double wordaligned or misaligned? 2.- Show how the word ABCD16 is stored in memorystarting at address 0A00216. Is the word aligned ormisaligned? (This problems are from the book: The 8088 and 8086Microprocessors. by Walter A. Triebel and Avtar Singh) Please help me out understanding these problems; I would likeyou to put every operation and explanation possible so I canunderstand these topics (I'll rate lifesavers) 1.- Show how the double word 1234567816 is storedin memory starting at address A00116. Is the double wordaligned or misaligned? 2.- Show how the word ABCD16 is stored in memorystarting at address 0A00216. Is the word aligned ormisaligned? (This problems are from the book: The 8088 and 8086Microprocessors. by Walter A. Triebel and Avtar Singh) Please help me out understanding these problems; I would likeyou to put every operation and explanation possible so I canunderstand these topics (I'll rate lifesavers)Explanation / Answer
//Hopethis will help you.
To store a word inbyte-addressable memory (i.e. where each element of memory is onebyte), you have to break up the 32 bit quantity into 4 bytes. Thus,if the word was 0x12345678, it's broken up into 0x12 , 0x34,0x56,0x78.
since 8086 useslittle endian,
so
A001 = 0x12
A002 = 0x34
A003 = 0x56
A004 = 0x78
Word-aligned means the address is stored at an addressthat's divisible by 4.
This word is misaligned
reason: A001 is not divisible by 4.
in same way you can do 2ndone.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.