Q)Explain the Register stack organization of 64 locations of stack(0 to 63). take the initial value of the stack pointer is SP = 1F in Hex. Explain the following push and pop instructions through the Register stack organization diagram.
(1) PUSH R9 WHERE R9 = (82) Hex
(2) POP R8 WHERE R8 = (82 + 5 ) Hex for example roll no 64 is having the data in R9 = 64 Hex and R8 is ( 64+5 = 69 Hex)
The answer to your question is provided in the image:
Comments
Leave a comment