[Info-vax] debugging stack corruption on Macro64?
John Reagan
xyzzy1959 at gmail.com
Mon Mar 9 21:29:19 EDT 2015
On Monday, March 9, 2015 at 8:47:50 PM UTC-4, John E. Malmberg wrote:
>
> This is what the code was intended to be, but it still corrupts the stack.
>
> lda sp,-$SIZE(sp)
> stq r27,(sp)
> stq r26,16(sp)
> stq r2,24(sp)
> stq r3,32(sp)
> stq r4,40(sp)
> stq fp,48(sp)
> mov sp,fp
>
What did you specify for SIZE on the $ROUTINE macro? You didn't show one in your prior example.
More information about the Info-vax
mailing list