Re: A86: Re: Re: Greater Than/Less Than


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

Re: A86: Re: Re: Greater Than/Less Than




Quote:
>shouldn't jr c,a_less_than_5 be[cause]:
>jr c,a_less_than_or_equal_to_5

Yes, thats probably true, but think about the order that the code is going
in... If it Does equal zero, then it will accept "jr z,a_equal_to_5" and go
there... If it Doesnt, then it will pass it up and then 'being zero' wouldnt
be relevant when it goes into "jr c,a_less_than_5"... =P
													--Jason K.

In a message dated 12/05/98 10:32:50 PM, tbarwick@esn.net writes:

>This is much better than mine cause mine didn't make much sense =P
>I don't know what I was thinking...
>use c and nc
>
> >cp 5
> >jr z,a_equal_to_5
> >jr c,a_less_than_5
> >jr nc,a_greater_than_5
>
>shouldn't jr c,a_less_than_5 be:
>jr c,a_less_than_or_equal_to_5
>??
>_________
>JBrett
>tbarwick@esn.net
>ICQ UIN: 20607010
>AIM: BarwickBJ
>http://ww2.esn.net/~tbarwick
>Plexus Publishing member
>ACZ member