aboutsummaryrefslogtreecommitdiff
path: root/src/example/spectrum.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/spectrum.asm')
-rw-r--r--src/example/spectrum.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/example/spectrum.asm b/src/example/spectrum.asm
index 70cb6ea..c3946d8 100644
--- a/src/example/spectrum.asm
+++ b/src/example/spectrum.asm
@@ -13,9 +13,9 @@
start: org 32768
- ld a,0
+ xor a
+ ld bc,$fe00
loop:
- out ($fe), a
+ out (c), a
inc a
- and 7
- jp loop
+ jr loop