1 ;==========================================================================
2 ; Test program for Z80-disassembler
3 ;==========================================================================
6 include <open-main-screen>
8 ld hl,Z80OPS ; start address for disassembler
11 call DISSCR ; disassemble one screen full
12 halt ; stop simulation
15 PRTSTR: ; print 0 terminated string
16 ld a,(hl) ; next char -> a
19 rst #10 ; no, print it
20 inc hl ; increase pointer to string
21 jp PRTSTR ; process next char