Re: A89: Address Error: Original Question
[Prev][Next][Index][Thread]
Re: A89: Address Error: Original Question
>> print_value:
>> move.l #str 8,a0
>
>Now, what is this?? "#str 8,a0"?? What are you tring to do?
>Make A0 point at str...? Then it should just be "move.l str,a0"
thats not true.
move.l #xxx,a0 moves #xxx into a0
it basically does the same as lea xxx,a0.
move.l xxx,a0 moves the content of the memory at $xxx to a0
>or "lea str,a0", or even better, put (PC) after str, like
>
> lea str(PC),a0
>
>as it's smaller & faster.