Re: LF: Re: List Fargo Digest V1 #112
[Prev][Next][Index][Thread]
Re: LF: Re: List Fargo Digest V1 #112
I`d like to comment this:
The tst command does the following:
Tst.b D0 = Cmp.b #0,D0
You can't: Tst.b #1,D0 ;Your asm gives an error.
Michael Wulff Nielsen
mal@dit.ou.dk
On Sun, 22 Jun 1997, Shawn Walker wrote:
>
> Try tst.(something) #1,d0
>
> bne = odd
> beq = even
>
> On Sun, 22 Jun 1997, Adam King wrote:
>
> > Does anyone know a good way to test for an odd or even number?
> >
> > Kinger
> > kinger@discover-net.net
> >
> >
> >
>
References: