help 9. Consider the following code segment: Struct some Int a: Long bi Char c Void foo (struct some s) S.a -21 s.b 1989: Int main0 Struct some thing: Foo (thing) Label the following stack diagra...
9. Consider the following code segment: Struct some Int a: Long bi Char c Void foo (struct some s) S.a -21 s.b 1989: Int main0 Struct some thing: Foo (thing) Label the following stack diagram-from the perspective of function foo-each field of the struct should be clearly marked. Assume 8 byte wide words. 0x060 0x068 0x070 0x078 0x080 Ox088 Ox090 0x098 0x100 Ox108 Old base pointer Return address
9. Consider the following code segment: Struct some Int a: Long bi Char c Void foo (struct some s) S.a -21 s.b 1989: Int main0 Struct some thing: Foo (thing) Label the following stack diagram-from the perspective of function foo-each field of the struct should be clearly marked. Assume 8 byte wide words. 0x060 0x068 0x070 0x078 0x080 Ox088 Ox090 0x098 0x100 Ox108 Old base pointer Return address