From 6cee147b6b1f583a03844978c706a9a75749eef5 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 22 Aug 2004 22:51:39 +0000 Subject: Added -c switch --- test/reset.asm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/reset.asm (limited to 'test/reset.asm') diff --git a/test/reset.asm b/test/reset.asm new file mode 100644 index 0000000..9210842 --- /dev/null +++ b/test/reset.asm @@ -0,0 +1,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 -- cgit v1.2.3