summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-06-11 21:39:59 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-06-11 22:05:03 -0400
commit460832c13c9d476d71e626a0c42de4eeff3feb63 (patch)
treeb3e5ea55f704d7e1672504eca8e99ffabe9c558a /assemble.c
parent0bc02d48d100aff63e40132786a89123ac43ae48 (diff)
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. :)
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c2
1 files changed, 2 insertions, 0 deletions
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;
}