From 460832c13c9d476d71e626a0c42de4eeff3feb63 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Thu, 11 Jun 2020 21:39:59 -0400 Subject: Did some more stuff. - Fix some bugs with strings. - Started to refactor the instruction functions. - Added support for using RS prefixes on the memory based increment, and decrement instructions. - Started work on SuBAsm's lexer. Have fun looking at this, BieHDC. :) --- assemble.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'assemble.c') diff --git a/assemble.c b/assemble.c index 4d95c33..1ff88df 100644 --- a/assemble.c +++ b/assemble.c @@ -142,6 +142,8 @@ uint64_t handle_dir(token *t, bytecount *bc, uint8_t isasm, uint64_t address, ui case 'n' : c = '\n'; break; case 'r' : c = '\r'; break; case 't' : c = '\t'; break; + case '\"': c = '\"'; break; + case '\'': c = '\''; break; case '\\': c = '\\'; break; case '0' : c = '\0'; break; } -- cgit v1.2.3-13-gbd6f