summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorAstrid Smith2010-06-11 02:06:17 -0700
committerAstrid Smith2010-06-11 02:06:17 -0700
commitdfebb555cd67511b10d48686bfe06e0a09c5419f (patch)
tree4fbbd56bf46722d9fe7203d02a27d2467c2c845e /main.asm
parent0cb14a87903acfce9f59ea514e4401660417e544 (diff)
Now RET should be correct ... stupid mistake.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.asm b/main.asm
index 0c571fc..bd8f01b 100644
--- a/main.asm
+++ b/main.asm
@@ -1809,9 +1809,11 @@ emu_op_c9:
;; SP <- (SP+2)
swap d2
FETCHB d2,d1
- addq.b #1,emu_sp
+ addq.b #1,d2
+ LOHI d1
FETCHB d2,d1
- addq.b #1,emu_sp
+ HILO d1
+ addq.b #1,d2
swap d2
move.w d1,d2
DONE