Redirected
recategorized by
1,479 views
2 votes
2 votes

Q.A stack based CPU executes the instruction.Memory location 500 contains 0x88 and memory location 700 contains 0x37.The stack pointer is at 0x003F.
The instructions are as follows:
I1:PUSH 500
I2:PUSH 700
I3:ADD
I4:POP 600
I5:PUSH 300

Which of the following is correct?

a)Stack pointer will be 0x0040 after execution instructions.

b)Memory location 0x40 contain 0x88 after execution instructions

c)Memory location 600 contains 0xBF after execution instructions

d)Both (a) and (c)

recategorized by

Please log in or register to answer this question.

Related questions

2 votes
2 votes
1 answer
3
2 votes
2 votes
0 answers
4