summaryrefslogtreecommitdiff
path: root/test/hello-world.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/hello-world.s')
-rw-r--r--test/hello-world.s3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/hello-world.s b/test/hello-world.s
index f3b540a..cf2d2a8 100644
--- a/test/hello-world.s
+++ b/test/hello-world.s
@@ -19,7 +19,7 @@ buffer:
.org $8000
reset:
cps ; Reset the processor status.
- ldx.w #$FFFF ; Set up the stack pointer.
+ ldx.d #$2FFFF ; Set up the stack pointer.
txs ; Reset the stack pointer.
; Start of main program.
@@ -65,4 +65,3 @@ spin:
.qword spin
a
d
-