summaryrefslogtreecommitdiff
path: root/test/part2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/part2.asm')
-rw-r--r--test/part2.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/part2.asm b/test/part2.asm
new file mode 100644
index 0000000..f03d181
--- /dev/null
+++ b/test/part2.asm
@@ -0,0 +1,18 @@
+; Multipart Test code
+;
+; $Id$
+;
+ org 0x8100
+
+loop:
+ ld bc,6912
+ ld hl,16384
+
+loop1:
+ inc (hl)
+ inc hl
+ dec c
+ jr nz,loop1
+ djnz loop1
+
+ ret