summaryrefslogtreecommitdiff
path: root/asmmon.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-05-09 14:14:08 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-05-09 14:14:08 -0400
commit545bb8591e8003912b6c6b494acefd74e6b3abfd (patch)
treec290a49fc4fff8f15c092a2440576f5f1627b6d1 /asmmon.h
parent11c8d71babb0210d070dd6ab12a255a5fa3159a5 (diff)
Added support for single quote marks to the emulator's
assembler. Single quote marks works in the assembler just like they do in C, except that it only supports a handful of escaped characters, like '\n', and '\r'.
Diffstat (limited to 'asmmon.h')
-rw-r--r--asmmon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/asmmon.h b/asmmon.h
index 54b2ab7..58b4918 100644
--- a/asmmon.h
+++ b/asmmon.h
@@ -35,7 +35,8 @@ enum {
enum {
BASE_HEX,
BASE_DEC,
- BASE_BIN
+ BASE_BIN,
+ BASE_CHAR
};
static const uint8_t opcodes[OPNUM][9] = {