Re: A89: Re: Address Error: Original Question


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

Re: A89: Re: Address Error: Original Question







>
>
>
>Dux Gregis wrote:
>> >
>> >  print_loop:
>> >  add.l #1,d1
>> >  divu #10,d0
>> >  swap d0
>> >  add.b #48,d0
>> >  move.b d0,-(a0)
>>
>> This is where your problem lies.  a0 will decrement to an odd address and
>> thus cause a memory address error when you move d0 into the odd address
of
>> the odd pointer.
>
>But he is using move.b?  move.b you can do to an odd address...
>
>//Olle

really?  that's going to help me alot
so when exactly is the adressing the problem?


Follow-Ups: