Local Variables in Frame
. assign to consecutive locations; allow enough space for each
- may put word size object in half word boundaries
- requires two half word loads
- requires shift, or, and
. align on double word boundaries
- wastes space
- machine may allow small offsets
word boundaries - the most significant byte of the object must be located at an address whose two least significant bits are zero relative to the frame pointer
half-word boundaries - the most significant byte of the object being located at an address whose least significant bit is zero relative to the frame pointer
|