summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-08-17 20:37:44 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-08-17 20:37:44 -0400
commitd31aed21b27fbda68abe088d657ba18455607cc4 (patch)
tree484f16e64f1fa4bcbdad7eb3242ec95e3ca9f5be /opcode.h
parent7e57608dff1e768d2ee5d6b6a28a319865530ed0 (diff)
- Fixed some bugs in the emulator's assembler.
- Simplified the effective address functions. - Made SuBEditor a bit faster. - JSR, and RTS now support using the RS prefix, which is used to specify the return address size, with an RS prefix of 0 being a return address size of 64 bits, rather than 8 bits.
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcode.h b/opcode.h
index fc2c8e6..cd883d4 100644
--- a/opcode.h
+++ b/opcode.h
@@ -18,6 +18,7 @@
#define N (1 << 7) /* Negative flag. */
extern uint8_t get_addrsize(uint8_t prefix, uint8_t addrmode);
+extern char *showbits(uint64_t value, uint8_t bitnum, uint8_t dbg);
/* reg_expr, and val_expr are the arithmetic expressions
* that will be used for either the value, or register, such as '+', or '-'.