summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Smith2010-09-13 15:18:29 -0700
committerDuncan Smith2010-09-13 15:18:29 -0700
commit3c35c0023e0d1f22804cfb51d38dba1ee3c0b316 (patch)
treeeb6dc31d6a3b479a7356aebfc79acad89118bf11
parente8da3403a9fd448f56102be7b8e56aa90d3f1483 (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