Re: LZ: More CAZ problems


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

Re: LZ: More CAZ problems



a label cant start with a number. try someting like:
lable36: jump_(wait)


chris




At 09:05 PM 11/16/96 -0700, you wrote:
>Hi!  It's me again.  I'm having troubles with CAZ again, and this is it:
>This program compiles fine except for one thing:  I get this error message:
>
>  36:   JUMP_(WAIT)
>     ^ Unknown Command
>
>
>#INCLUDE 'TI-85.H'
>ORG 0
>DEFM 'Wow, stuff',0
>
>INIT:
>        LD A, 4
>        OUT (5), A
>
>        CALL ROM_CALL
>        DEFW CLEARLCD
>        SET 3,(IY+05)
>        LD HL, 0X0001
>        LD ($800C),HL
>        LD HL, (PROGRAM_ADDR)
>        LD DE, TEXT1
>        ADD HL, DE
>        CALL ROM_CALL
>        DEFW D_ZT_STR
>
>        RES 3, (IY+05)
>
>        LD HL, 0X3A4A
>        LD ($8333), HL
>        LD HL, (PROGRAM_ADDR)
>        LD DE, ENTERSTR1
>        ADD HL, DE
>        CALL ROM_CALL
>        DEFW D_ZM_STR
>
>WAIT:
>        CALL GET_KEY
>
>        CP 0X9
>        RET Z
>
>        JUMP_(WAIT)                     ;HERE'S THE PROBLEM!!!
>TEXT1:
>        DEFM '--White on Black!!!--', 0
>
>ENTERSTR1:
>        DEFM 'Press [ENTER]', 0
>
>END
>
>
>
>Does CAZ not support Jumps?  I don't get it!  What should I do?  BTW,
>thanks to all who helped me before and Thanks to Tim FitzRandolph for his
>zteach source, where I got this.
>
> ________________________________________________________________
>| Marc Heikens                 |  Fear not all is well.          |
>| kheikens@owt.com             |  Fear, not all is well.         |
>|______________________________|  Fear not, all is well.         |
>|  Reduce your stress level!   |                                 |
>|  Buy a Macintosh!            |  --Truth lies in interpretation.|
>|______________________________|_________________________________|
>
>
>
>


References: