A83: WTF IS WRONG WITH MY PROGRAM
[Prev][Next][Index][Thread]
A83: WTF IS WRONG WITH MY PROGRAM
This is my new version of my non-working program. SOMEONE PLZ TELL ME
WTF IS WRONG WITH IT. It makes PERFECT sense to me, but apparently not
the MORONIC Z80!!! It always gives me an Error Undefined. I know how it
does it but why?? I know the program I'm testing it with exists, so
therefore I shouldn't get a Undefined Error. I think it has something to
do with my object numbers.
.NOLIST
#include "master_m.inc"
.LIST
.org $9327
call _zeroop1
ld a,tAns
ld (op1+1),a
call _chkfindsym
jp c,_ERRUNDEFINED
and 1Fh
cp STRINGOBJ
jp nz,_errSyntax
ld hl,op1
ld (hl),a
inc hl
ld a,(de)
ld c,a
ld b,0
inc de
inc de
ex de,hl
ldir
call _chkfindsym
jp c,_ERRUNDEFINED
inc a
cp 06h
jp z,LastStep
ld a,05h
LastStep:
ld (hl),a
ret
.end
.end
_____________________________________________________________________
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]