[A83] Re: DivHLbyA
[Prev][Next][Index][Thread]
[A83] Re: DivHLbyA
That's weird....here's the exact code I compiled in ZDS...the calc
printed "60" on the screen.
include "..\ti83plus.inc"
org userMem
ld hl,120
ld (hl_var),hl
ld a,2
ld (a_var),a
B_CALL DivHLByA
B_CALL DispHL
B_CALL GetKey
ret
hl_var: db 0,0
a_var: db 0
Here's the graph link program file:
AsmPrgm
21780022AA9D3E0232AC9DEF1240EF07
45EF7249C9000000
-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org] On Behalf Of
Darkfire139@aol.com
Sent: Wednesday, January 09, 2002 11:21 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: DivHLbyA
yea.. i guess... but this always returns 316...
ld hl,120
ld (hl_var),hl
ld a,2
ld (a_var),a
bcall(_divhlbya)
bcall(_disphl)
> Org userMem
> Blah blah blah
> Ld hl,(Uservar)
> Ld a,(Uservar3)
> B_CALL DivHLByA
> Etc, etc...
> ret
-------------------
Colin Hart
darkfire139@aol.com
References: