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 ; A: position to move to
36 ; if current output is further than that, go to the new line
37 ; should preserve registers (except A and F)
77 errmsg_identifier_expected:
78 defx "identifier expected"
79 errmsg_integer_expected:
80 defx "integer expected"
83 errmsg_string_expected:
84 defx "string expected"
88 error_identifier_expected:
89 ld hl,errmsg_identifier_expected
91 error_integer_expected:
92 ld hl,errmsg_integer_expected
95 ld hl,errmsg_out_of_range
97 error_string_expected:
98 ld hl,errmsg_string_expected