[A83] Re: big numbers
[Prev][Next][Index][Thread]
[A83] Re: big numbers
hmmmmm... Maybe ADC and SBC have uses after all...
;This code pulled out of my ass at 5:23 PM, might possibly work
ld b,4
or a
push af
loop:
pop af
ld a,(de)
adc a,(hl)
push af
ld (hl),a
inc hl
inc de
djnz loop
pop af
>From: "Nick Reichert" <discjammer@hotmail.com>
>Reply-To: assembly-83@lists.ticalc.org
>To: assembly-83@lists.ticalc.org
>Subject: [A83] big numbers
>Date: Fri, 16 Mar 2001 14:47:46 -0800
>
>
>Hello everyone,
>Does anyone know of a routine to display and add/subtract 4-byte numbers
>(up
>to 4,294,967,295), like the C++ variable "long int?" I ask this because I
>am
>making a factoring program, and it would be very useful if I could factor
>numbers larger than 65,535. Sorry if this question has already been asked.
> Thanks everybody!
> Nicholas Reichert
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com