Re: A86: 24-bit add?
[Prev][Next][Index][Thread]
Re: A86: 24-bit add?
why not:
add hl,de ;what you said
adc a,b ;automatically inc if carry!
???
-josh
On Fri, 16 Oct 1998 20:32:03 EDT ComAsYuAre@aol.com writes:
>
>In a message dated 10/16/98 6:41:32 PM Eastern Daylight Time,
>ComAsYuAre@aol.com writes:
>
>> add hl,de
>> call c,inc_a ;if there's a carry in
>add hl,de, increment a
>
>
> add a,b ;forgot this
>
>
>> ;...other code
>>
>>
>> inc_a:
>> inc a
>> ret
>>
>> this is untested, but i think it'll work
>>
>
___________________________________________________________________
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]
References: