aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-09-27 19:28:45 +0100
committerIan C <ianc@noddybox.co.uk>2016-09-27 19:28:45 +0100
commit0127dbc7c79ba19c21ef07f2b1764857f5bf9717 (patch)
treed4445c08208d47bbc64d8417f09036c3668433ed /src
parent712695afa2a49b5f52d2f3e6ef664bd4ebb33723 (diff)
Updated Spectrum example.
Diffstat (limited to 'src')
-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