summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstrid Smith2010-09-13 15:18:29 -0700
committerAstrid Smith2010-09-13 15:18:29 -0700
commit725569ebe9fc2901c15b818197b26004df5e492c (patch)
treeaf27ff81210cf5b6945fb237a45973950872638d
parent1c26c72e8abbac88f7718edc8785ea2448fd03cc (diff)
Small patch to make JR reliable
-rw-r--r--opcodes.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/opcodes.asm b/opcodes.asm
index b2f4909..6cf2fed 100644
--- a/opcodes.asm
+++ b/opcodes.asm
@@ -396,9 +396,11 @@ emu_op_17:
START
emu_op_18:
- ;; JR
+ ;; JR immed.b
+ ;; PC <- immed.b
;; Branch relative by a signed immediate byte
;; No flags
+ clr.w d1
FETCHBI d1
move.l epc,a0
bsr underef