diff options
Diffstat (limited to 'test/code.asm')
-rw-r--r-- | test/code.asm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/code.asm b/test/code.asm new file mode 100644 index 0000000..a3e3304 --- /dev/null +++ b/test/code.asm @@ -0,0 +1,20 @@ +; Test code +; +; $Id$ +; + org 32768 + +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 + + jr loop |