Quote:
Originally Posted by jotd
I suspected so. Thanks.
I could substract the size to A4 and add it just before unlk then.
|
Yes.
However there is an alternative that I often use: directly use A7 as the BASE register.
So simply:
Code:
lea -gl_SIZEOF(a7),a7
if needed
{
move.l a7,A3
move.l #gl_SIZEOF/4-1,d1
.clr
clr.l (a3)+
dbf d1,.clr
}
...
move.l (A1)+,(gl_chipptr,a7)
You need to have a total control over subroutine call nesting!
LINK is for high level languages where the subroutine calls is not known at priori..
You even gain a spare A register
Bye,
ross