1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
; Test code - used with a CLEAR line to resist a new ; ; $Id$ ; org 32768 ld d,8 loop: ld bc,6912 ld hl,16384 loop1: ld a,r out (0xfe),a inc (hl) inc hl dec c jr nz,loop1 djnz loop1 dec d jr nz,loop ret