I am writing an assembler program and when a procedure calls another
procedure it has to save the return address in the stack frame. But in a
book I am reading (Computer Organization and Design 3. ed) $ra get
allocated 8 bytes on the stack because : its padded to a double-word
boundary:
subu $sp, $sp, 32
sw $ra, 20($sp)
sw $fp, 16($sp)
addiu $fp, $sp, 28
But in som other examples in the book it only gets 4 bytes!
Why the different size?
