Re: A86: cphlde


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

Re: A86: cphlde




It uses sbc.  I think, but I really have no idea, that the carry flag
reflects whether or not the carry was subtracted.

rabidcow@juno.com wrote:
> 
> isn't it the same as a regular cp?
> 
> -josh
> 
> On Mon, 04 May 1998 00:42:44 -0400 Dux Gregis <assets@eden.rutgers.edu>
> writes:
> >
> >I disassembled _cphlde ($403c) to find out which flags are set.  I'm
> >not
> >sure how the carry flag is affected, but you can use the sign flag to
> >check for inequalities:
> >
> > call _cphlde
> > jr z,de_equal_to_hl
> > jr p,de_less_than_hl
> > jr m,de_greater_than_hl
> >
> 
> _____________________________________________________________________
> You don't need to buy Internet access to use free Internet e-mail.
> Get completely free e-mail from Juno at http://www.juno.com
> Or call Juno at (800) 654-JUNO [654-5866]


Follow-Ups: References: