Re: A92: Re: ren command
[Prev][Next][Index][Thread]
Re: A92: Re: ren command
>The Doors Team wrote:
>>
>> Suppose you have in a0 the file adress:
>>
>> tst.w 22(a0) ;if 22(a0) = 0, no comment
>> beq \nocomment
>
>
>> add.w 22(a0),a0 ;now a0 is the adress of the comment
>
>what? adda.l #22,a0.
22(a0) is the relative adress to the comment of a Fargo II prog
That's why you have to do : add.w 22(a0),a0
If 22(a0) = 0 then there is no comment
Xavier VASSOR
---Doors Team
http://www.altern.org/doors
ICQ:10241721
References: