summaryrefslogtreecommitdiff
path: root/opcode-bitmask-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcode-bitmask-gen.c')
-rw-r--r--opcode-bitmask-gen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/opcode-bitmask-gen.c b/opcode-bitmask-gen.c
index 9781e2f..078c1cc 100644
--- a/opcode-bitmask-gen.c
+++ b/opcode-bitmask-gen.c
@@ -238,6 +238,11 @@ uint8_t get_opcode(const instruction *instr, int addr_mode, int inst_ext, int ex
return opcode;
}
break;
+ case REL:
+ if (addr_mode_mask & AM_REL) {
+ return opcode;
+ }
+ break;
case BREG:
if (addr_mode_mask & AM_BREG) {
return opcode + 0x14;