0% found this document useful (0 votes)
8 views2 pages

BNE Instruction and Stack Management

Uploaded by

sarathi paul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

BNE Instruction and Stack Management

Uploaded by

sarathi paul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1) The COND field value for BNE

instruction is 0001.

2.a) Let v11-20 represent a.


& v11-16 represent b.

v2 3
a

ath)
a

b (atte)
b h (ate)

b refathe)-5 V11-8

V0

[Link] = (beta). he-5


b)
V17
Old v11
unused
Result (r 3)
V11 - 8

b V11 - 16

a V11 - 20

← Points to the
3) instruction after f2 call
Return address
- f1
← space for f 2's variably
Local variables
⇐ Additional
book-keeping for f 22

← Points to hire
Return Address control returns after ft
← space for f1's
Local variables
variables
⇐ Additional book-
keeping for f I's variably

← Base of stack

You might also like