Re: A86: cphlde


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

Re: A86: cphlde




that can't be done... that's why you should use the carry flag. the 'jr
p' and 'jr m' commands don't exist...

Dux Gregis wrote:
> 
> and a
>  jr z,a_is_zero
>  jr p,a_is_positve
>  jr m,a_is_negative
> 
> Bit 7 is copied into the sign flag and can be tested with the condition
> statements P and M.
> 
> Kirk Meyer wrote:
> >
> > yes, except that the carry flag can be used w/ the "jr" type
> > instructions whereas the sign flag cannot.
> >

-- 

=====================================
=                                   =
=   Kirk Meyer (mailto:_@ibm.net)   =
= http://www.bigfoot.com/~kirkmeyer =
=                                   =
=   "Set your affection on things   =
=    above, not on things on the    =
=      earth."  Colossians 3:2      =
=                                   =
=====================================


References: