A89: Re: Question.


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

A89: Re: Question.




> ok.  in this syntax:
> move.w 4(a0,d0),d1
> how do i specify the size of d0? or is it assumed long?
>

You have two possabilities here:

(Ax,Dy) or 0(Ax, Dy) means Ax + lower 16 bits of Dy sign-extended to 32
bits.
d(Ax,Dy) means Ax + d (8 bits) + lower 8 bits of Dy sign-extended to 32
bits.

AFAIK you can't set Dy in the first case to only use 8 bits, but I wouldn't
mind being proved wrong since it would be useful... :o)


 / Niklas Brunlid
Check out Prosit for the TI-89 / TI-92 Plus at http://c625.sparta.lu.se
Random PQF Quote follows:

"And Howondaland Smith, Balrog Hunter, practic'ly eats the dark for
his tea."
        -- Gaspode the wonder dog
           (Terry Pratchett, Moving Pictures)




Follow-Ups: References: