+1 vote
70 views
in Compilers & Operating Systems by

1 Answer

+1 vote
by
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 425 views
+1 vote
1 answer 72 views
0 votes
0 answers 56 views
0 votes
1 answer 90 views
0 votes
1 answer 91 views
0 votes
1 answer 205 views
0 votes
1 answer 97 views
+1 vote
1 answer 121 views
asked Oct 16, 2020 in Computer Networks by anonymous
+3 votes
1 answer 569 views
+2 votes
1 answer 1.1k views
+2 votes
1 answer 2.2k views
+1 vote
1 answer 60 views
Welcome to CPENTalk.com
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...