summaryrefslogtreecommitdiff
path: root/opcodes.asm.m4
diff options
context:
space:
mode:
authorAstrid Smith2010-11-12 22:34:36 -0800
committerAstrid Smith2010-11-12 22:34:36 -0800
commitfef8e437581e649d4bbc867d28f7e6ef98617bd4 (patch)
tree3a74c5c7c1447fc0f71d7dc58b85d857b4f9efa7 /opcodes.asm.m4
parent7306a2d260594efefe5761fc617a4e2aba97c41f (diff)
Added support for local labels in opcodes
I tried to use A68k's local label support, but I believe it was broken. Now I can use it, finally. :)
Diffstat (limited to 'opcodes.asm.m4')
-rw-r--r--opcodes.asm.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes.asm.m4 b/opcodes.asm.m4
index 9f3a3fe..9e22715 100644
--- a/opcodes.asm.m4
+++ b/opcodes.asm.m4
@@ -332,14 +332,14 @@ OPCODE(10,`
HOLD_INTS
LOHI ebc
subq.b #1,ebc
- beq.s end_10 ; slooooow
+ beq.s local(end) ; slooooow
FETCHBI d1
move.l epc,a0
bsr underef
add.w d1,d0 ; ??? Can I avoid underef/deref cycle?
bsr deref
move.l a0,epc
-end_10:
+local(end):
HILO ebc
CONTINUE_INTS
') ;nok