From 545bb8591e8003912b6c6b494acefd74e6b3abfd Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sat, 9 May 2020 14:14:08 -0400 Subject: 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'. --- asmmon.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'asmmon.h') 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] = { -- cgit v1.2.3-13-gbd6f