1 WIDTH: defb 30 ;PRINT WIDTH
5 ; should preserve registers (except A and F)
9 ;OUT - SEND CHARACTER OR KEYWORD
10 ; Inputs: A = character (>=10, <128)
11 ; A = Token (<10, >=128)
35 EXPR_ERR_NO_LOCAL_LABELS_YET equ BZ80ASM.EXPR_ERR_USERDEF+0
38 defx "number expected"
39 defx "string expected"
42 defx "relative jump dest too far"
43 defx "unresolved label"
44 defx "invalid label name"
45 defx "duplicate label"
47 ; user-defined errors starts here
48 defx "local labels are not implemented yet"
52 ld a,BZ80ASM.EXPR_ERR_JR_TOO_FAR
53 ; you can simply "RET" from here
54 jp BZ80ASM.PARSE_EXPR_ERROR_A
71 ld sp,(BZ80ASM.ASM_SP0)