summaryrefslogtreecommitdiff
path: root/test/subroutine.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/subroutine.s')
-rw-r--r--test/subroutine.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/subroutine.s b/test/subroutine.s
index b7d8d17..e06ac48 100644
--- a/test/subroutine.s
+++ b/test/subroutine.s
@@ -13,7 +13,7 @@ buf:
.org $8000
reset:
cps ; Reset the processor status register.
- ldx.w #$FFFF ; Reset the stack pointer.
+ ldx.d #$2FFFF ; Reset the stack pointer.
txs ;
@bench:
tay ; Reset Y.