Question: I need help finding the absolute addresses and the stack values of a stack frame. I've gotten as far as I can go in creating

I need help finding the absolute addresses and the stack values of a stack frame. I've gotten as far as I can go in creating the stack frame in the picture below, and need help with the remainder. I know The absolute addresses should be the address of the line above minus the size of the current line (value in bytes), but then they have to be represented in hexadecimal format? That's where I'm having the trouble. Please see the below stack frame of what I have and please help fill in the rest. The top rows are the startup stack frame that was given, the values are arbitrary. Please help fill in the rest with a quick explanation on how you got there, or just a few examples to get me going would be great. Thank you!
example BB9h minus the return object gives you BB5h? and so on but how did that cone out that way looking at the ASCII Value table i dont see how 9-3=5?
I need help finding the absolute addresses and the stack values of
i was able to solve this thank you

value Relative Address Description Stack Value Absolute Address BBFh BB9h BP+6h BP Function Return Address Previous Frame Address BB5h BPuch BP+6h BP BP-4h 1014h Oh -main ?? ?? BB9h ?? Return Object (int) Function Return Address Previous Frame Address Resultfint) 3 6 6 3 god BP+15h BP+Odh BP+9h BP+6h BP ?? 176 77 580h Return object (long) X(int) Y(short) Function Return Address Previous Frame Address 3 6 6 BP+15h BP+Odh BP9h BP+6h BP -gcd2 72 77 22 1E0h Return object (long) X(int) YIshort) Function Return Address Previous Frame Address 4 3 6 6 Bd3 BP+15h BP+Odh BP+9h BP+6h . 22 22 11 1E0n Return object (tong) Xiint) Y(short) Function Return Address Previous Frame Address 8 4 3 6 6 ged -11 BP+15h BP+Odh BP+9h BP+61 BP Return object longi Xunt: short Function Return Address Previous Frame Address 8 F4 3 5 5 1E06 value Relative Address Description Stack Value Absolute Address BBFh BB9h BP+6h BP Function Return Address Previous Frame Address BB5h BPuch BP+6h BP BP-4h 1014h Oh -main ?? ?? BB9h ?? Return Object (int) Function Return Address Previous Frame Address Resultfint) 3 6 6 3 god BP+15h BP+Odh BP+9h BP+6h BP ?? 176 77 580h Return object (long) X(int) Y(short) Function Return Address Previous Frame Address 3 6 6 BP+15h BP+Odh BP9h BP+6h BP -gcd2 72 77 22 1E0h Return object (long) X(int) YIshort) Function Return Address Previous Frame Address 4 3 6 6 Bd3 BP+15h BP+Odh BP+9h BP+6h . 22 22 11 1E0n Return object (tong) Xiint) Y(short) Function Return Address Previous Frame Address 8 4 3 6 6 ged -11 BP+15h BP+Odh BP+9h BP+61 BP Return object longi Xunt: short Function Return Address Previous Frame Address 8 F4 3 5 5 1E06

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!