If currently SS stores (5678) 16 and SP stores(7890) 16 what would be the physic
ID: 3614100 • Letter: I
Question
If currently SS stores (5678)16 and SP stores(7890)16 what would be the physical addresses of the 2bytes of a word (i.e: (ABCD)16) when it is pushed onto thestack? --The Phys Addressof least signinficant byte(CD): --The Phys Addressof most signinficant byte(AB): If currently SS stores (5678)16 and SP stores(7890)16 what would be the physical addresses of the 2bytes of a word (i.e: (ABCD)16) when it is pushed onto thestack? --The Phys Addressof least signinficant byte(CD): --The Phys Addressof most signinficant byte(AB): --The Phys Addressof most signinficant byte(AB):Explanation / Answer
SS stores the address of the bottom of the stack SP contains the address of the top of the stack Here SP stores (7890)16 ..therefore the address of the top of the stack is 7890 If ABCD is to be stored then CD will be stored at address 7891 AB will be stored at address 7892 Now SP will have address 7892 (since it is the new top of the stacknow)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.