summaryrefslogtreecommitdiff
path: root/assemble.c
AgeCommit message (Collapse)Author
2020-06-13Optimized, and cleaned up the codebase.mrb0nk500
2020-06-13Made the source code cleaner.mrb0nk500
2020-06-13Fixed some bugs with freeing the linked lists.mrb0nk500
Thanks to BieHDC for pointing this out to me.
2020-06-11Did some more stuff.mrb0nk500
- 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. :)
2020-06-01- Deleted some commented code.mrb0nk500
- Fixed a bug in SuBAsm.
2020-06-01Did some more refactoring to the assembler.mrb0nk500
- Refactored the symbol, and fixup table to now use a linked list - Added support for local symbols to the assembler. - Rewrote SuBEditor, and SuBAsm to use local symbols.
2020-05-28Fixed some stuff in the assembler.mrb0nk500
2020-05-28Refactored the assembler, yet again, and implementedmrb0nk500
support for comma separated values. The assembler now uses a linked list of tokenized lines, each containing a linked list of tokens for that line. I also moved all of the large tables into the higher parts of memory, in order to free up the lower part of memory for the user. Comma sepparated values only work with directives, and only with the byte", word, dword, and qword directives. I also added support for getting the upper, and lower halves of an address. The tokens for both of those are '<', and '>' respectively.