Re: A83: FP-number input [83]


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

Re: A83: FP-number input [83]



There is no sub hl,de.  You have to do
 or a  ;clear carry
 sbc hl,de

Otherwise it looked fine.


In a message dated 2/1/2001 2:25:21 PM Eastern Standard Time,
sebastiaan@rimsystems.nl writes:


Can't you just try?

ld a,1
ld (ASM_IND_CALL),a
call PGMIO_EXEC
ld d,h
ld e,l
ld hl,OP1
sub hl,de
ld a,h
or l
jr z,true
ld hl,no
jr continue
true:
ld hl,yes
continue:
jp vputs    ; I can't remember the call for displaying a string... that's
not a
good sign :(
yes: .db "Yeah!",0
no:  .db "I'm not sure, but i don't think so...",0





----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org