Re: A89: Address Error


[Prev][Next][Index][Thread]

Re: A89: Address Error




In a message dated 12/6/98 3:43:55 AM Eastern Standard Time,
deadmeat39@usa.net writes:

> I keep getting an address error (actually it is an Adress Error) when I run 
> this program I'm writing.  I figured out where it it, sort of.  I has to do 
> when I use a macro to display a varible.
>  
>  print_d0 MACRO
>  bsr print_value
>  move.w  \3,-(a7)
>  move.l  a0,-(a7)
>  move.w  \2,-(a7)
>  move.w  \1,-(a7)
>  jsr     doorsos::DrawStrXY
>  lea 10(a7),a7
>  ENDM

l could be wrong, because l don't know much about asm, but l don't think it's
a good idea to have a bsr within a macro.  that could be the problem.


Follow-Ups: