Re: A86: 24-bit add?


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

Re: A86: 24-bit add?




In a message dated 10/16/98 05:53:24 Eastern Daylight Time,
a_finne@hotmail.com writes:

> Is there a call like add ahl,bde or something like that?


i don't know if there's a call, but try this:

	add hl,de
	call c,inc_a			;if there's a carry in add hl,de, increment a
	;...other code


inc_a:
	inc a
	ret

this is untested, but i think it'll work