However, "stacking" puts only 7 x 4 bytes on the stack by my count. What do I miss? Is it an alignment issue? The manual mentions that the SP is aligned to a double-word address after the stacking if so configured.
Code: Select all
PROCEDURE NMITrap; VAR trapAddr: INTEGER; BEGIN SYSTEM.GET(SYSTEM.SP + 36, trapAddr); ...
Is it correct that the return address is at the top of the stack frame (which would be consistent with "normal" procedure calls, where the LR is saved there, if I am not mistaken).