RE: A92: Questions about some instructions


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

RE: A92: Questions about some instructions






>-----Original Message-----
>From: owner-assembly-92@lists.ticalc.org
>[mailto:owner-assembly-92@lists.ticalc.org]On Behalf Of NDStein@aol.com
>Sent: Saturday, June 06, 1998 11:25 PM
>To: assembly-92@lists.ticalc.org
>Subject: Re: A92: Questions about some instructions
>
>
>
>I will write an example of overflow in 68k asm (I hope most of you will
>understand it ;-)
>
>move.b #$FF,d0  ;Put the largest value possible in d0
>addi.b   #1,d0     ;Add 1 to d0
>
>At that point overflow occurs because the value of the addition (#$100) is too
>large to be stored in the lower byte of d0.
>

yah, I understand that concept. But how does this fit into the "TST.B D0" situation?



References: