+1 vote
18 views

1 Answer

+1 vote
by (user.guest)
selected by (user.guest)
 
Best answer
Because they require large space in local frames and therefore large offsets
- If large object is put near the boundary other objects require large offset either from fp (if put near beginning) or sp (if put near end)
- Allocate another base register to access large objects

- Allocate space in the middle or elsewhere; store pointer to these locations from at a small offset from fp
- Requires extra loads

Large local data structures require large space in local frames and therefore large offsets.

If large objects are put near the boundary then the other objects require large offset. You can either allocate another base register to access large objects or you can allocate space in the middle or elsewhere and then store pointers to these locations starting from at a small offset from the frame pointer.

Related questions

+1 vote
1 answer
+2 votes
1 answer
+2 votes
1 answer
Welcome to CPEN Talk
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...