summaryrefslogtreecommitdiff
path: root/mnemonics.c
diff options
context:
space:
mode:
Diffstat (limited to 'mnemonics.c')
-rw-r--r--mnemonics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mnemonics.c b/mnemonics.c
index 4a21992..38a35f8 100644
--- a/mnemonics.c
+++ b/mnemonics.c
@@ -34,7 +34,7 @@ const struct mnemonic mnemonics[] = {
{ "ble", 0x6a00, { {PCOFF, 0}, } }, /* branch if less than or equal */
{ "bra", 0x6e00, { {PCOFF, 0}, } }, /* branch always */
{ "jmp", 0x7000, { {REGPTR, 5}, } }, /* branch always */
- { "addpc", 0x8000, { {REG, 9}, {IMM, 0} } }, /* add program counter and immediate */
+ { "addpc", 0x8000, { {REG, 9}, {PCOFF, 0} } }, /* add program counter and immediate */
{ "nop", 0xffff, { } }, /* no operation */
};