diff options
author | Ian C <ianc@noddybox.co.uk> | 2004-08-22 22:51:39 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2004-08-22 22:51:39 +0000 |
commit | 6cee147b6b1f583a03844978c706a9a75749eef5 (patch) | |
tree | 42c9c308083fc54199698c71ebf2fb48f2761685 /test/reset.asm | |
parent | 5b510f1aeab809f8265004ed6e64cd353f6005cc (diff) |
Added -c switch
Diffstat (limited to 'test/reset.asm')
-rw-r--r-- | test/reset.asm | 23 |
1 files changed, 23 insertions, 0 deletions
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 |