Re: A86: 24-bit add?


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

Re: A86: 24-bit add?




In a message dated 10/17/98 8:00:49 PM Eastern Daylight Time,
rabidcow@juno.com writes:

> why not:
>  
>  	add hl,de	;what you said
>  	adc a,b		;automatically inc if carry!
>  
>  ???
>  

because i didn't think of it :)

i've never really understood adc and sbc.  from this post, i'm inferring that
it add's the carry as the value 0000000c, so it's either 1 or 0.  i wasn't
sure if this was that 9 bit arithmetic stuff or whatever.