summaryrefslogtreecommitdiff
path: root/asmmon.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 /asmmon.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 'asmmon.h')
-rw-r--r--asmmon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/asmmon.h b/asmmon.h
index a03213d..633ed38 100644
--- a/asmmon.h
+++ b/asmmon.h
@@ -543,6 +543,8 @@ extern uint8_t isfixup;
extern line *find_line(uint32_t ln, uint8_t dbg);
extern uint64_t lex(char *str, uint64_t address, uint16_t bline, uint8_t dbg);
+extern uint64_t get_val(token *t, uint64_t addr, uint8_t size, uint8_t dbg);
+extern token *skip_expr(token *t, uint8_t dbg);
extern uint64_t parse_tokens(token *tm, bytecount *bc, uint8_t isasm, uint64_t address, uint8_t dbg);
extern token *make_token(uint8_t id, uint8_t type, uint8_t space, uint8_t tab, uint64_t value, char *str, symbol *s);
extern void assemble(line *ln, bytecount *bc, uint8_t dbg);