11 $printf "parser size: %d", csizeend-csizestart
16 $printf "label manager size: %d", csizeend-csizestart
21 $printf "ouput system size: %d", csizeend-csizestart
24 ;include "output_driver_std.zas"
25 include "output_driver_4x8.zas"
27 $printf "printing driver size: %d", csizeend-csizestart
37 ; print line to assemble
56 push ix ; save code destination
57 push iy ; we'll need it for listing
85 pop bc ; current position in text buffer
86 pop de ; initial position
105 errline: defx "---------"
112 defm "ld hl,16384",13
113 defm "ld a,(ix-2)",13
122 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
125 ;; extracted from assembler code, because we don't need it there
128 ;; IY: current position in text buffer
129 ;; IX: current position in code buffer
130 ;; BC: starting position in text buffer
131 ;; DE: starting position in code buffer
136 ;COUNT: defb 0 ;PRINT POSITION
138 ; calculate code length
148 ; calculate original PC
161 ; print code bytes (if there are any)
166 ; do not print code if more than 4 bytes (long strings and dbs)
169 ; do not print code if more than 4 bytes (long strings and dbs)
199 ; print source line, from BC to IY (exclusive)
200 ; calculate string length
226 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
228 ;; print byte in hex with the trailing space
236 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;