summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mnemonics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mnemonics.c b/mnemonics.c
index b65e110..a13d19d 100644
--- a/mnemonics.c
+++ b/mnemonics.c
@@ -34,7 +34,7 @@ const struct mnemonic mnemonics[] = {
{ "ble", 0x6a00, 0xff00, { {PCOFF, 0}, } }, /* branch if less than or equal */
{ "bra", 0x6e00, 0xff00, { {PCOFF, 0}, } }, /* branch always */
{ "jmp", 0x7000, 0xff1f, { {REGPTR, 5}, } }, /* branch always */
- { "addpc", 0x8000, 0xf100, { {REG, 9}, {PCOFF, 0} } }, /* add program counter and immediate */
+ { "addpc", 0x8000, 0xf100, { {REG, 9}, {IMM, 0} } }, /* add program counter and immediate */
{ "nop", 0xf000, 0xf000, { } }, /* no operation */
};