diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-06-11 21:39:59 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-06-11 22:05:03 -0400 |
commit | 460832c13c9d476d71e626a0c42de4eeff3feb63 (patch) | |
tree | b3e5ea55f704d7e1672504eca8e99ffabe9c558a /assemble.c | |
parent | 0bc02d48d100aff63e40132786a89123ac43ae48 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |