Garritt McCune glm94
  • Joined on 2020-12-03
glm94 pushed to main at glm94/assm-test 2022-10-07 15:47:06 -05:00
4b08707e67 Cleaned up the list implementation so as to NOT copy items into a new buffer.
glm94 pushed to parser at glm94/assm-test 2022-10-06 22:08:40 -05:00
307519a2b1 Updated parser.
glm94 pushed to parser at glm94/assm-test 2022-10-06 21:33:43 -05:00
d3d2b06dbd Redesigning the way the Symbol's represent string declaration (the .db msg 'Hello World' type of declarations).
glm94 pushed to main at glm94/assm-test 2022-10-06 21:11:30 -05:00
bdb4d2b241 Updated the way Instructions keep track of symbols. Only their name is important but we need the Symbols to be able to track which Instruction they point to (if they do that is, i.e. a label symbol).
glm94 pushed to main at glm94/assm-test 2022-10-06 16:06:04 -05:00
d53833c25f Added some debug print out for the instruction list and a helper function to get a string for any Registers enum.
glm94 pushed to main at glm94/assm-test 2022-10-06 08:22:51 -05:00
f38da9cc74 A bit of cleanup.
33309a2759 Updated the Instruction's structure and updated the Parser accordingly.
1f7989533b Fixed a bug in the SymbolsTable where it wouldn't update its size.
cd1258a724 Fixed various Parser bugs.
be91e3c112 Updated the parser to better handle parameters, sort of and including a string length assembly program to use as a test for the whole assembler.
Compare 55 commits »
glm94 pushed to parser at glm94/assm-test 2022-10-04 16:05:23 -05:00
f38da9cc74 A bit of cleanup.
glm94 pushed to parser at glm94/assm-test 2022-10-04 15:37:54 -05:00
33309a2759 Updated the Instruction's structure and updated the Parser accordingly.
glm94 pushed to parser at glm94/assm-test 2022-10-03 20:11:21 -05:00
1f7989533b Fixed a bug in the SymbolsTable where it wouldn't update its size.
glm94 pushed to parser at glm94/assm-test 2022-10-03 19:58:52 -05:00
cd1258a724 Fixed various Parser bugs.
glm94 pushed to parser at glm94/assm-test 2022-10-03 16:26:35 -05:00
be91e3c112 Updated the parser to better handle parameters, sort of and including a string length assembly program to use as a test for the whole assembler.
glm94 pushed to parser at glm94/assm-test 2022-10-03 14:40:08 -05:00
706f480e31 The Scanner will now check for empty lines (is the previous token and the current token a new line?) and simply not emit a NewLine Token.
glm94 pushed to parser at glm94/assm-test 2022-10-03 11:56:47 -05:00
a949007c75 Updated the ISA so the program will correctly see things like 'load', 'inc' and 'dec'.
glm94 pushed to parser at glm94/assm-test 2022-10-03 10:20:40 -05:00
a0d5d62a34 Fixed a bug in the Scanner when parsing a hex number, still not super robust but it'll work.
glm94 pushed to parser at glm94/assm-test 2022-10-02 22:54:26 -05:00
f7cd87f13f Started reworking the Parser to simplify how instructions will be represented. It will act like a 'first pass' that will do grammar checks but not verify the parameters of the opcodes.
glm94 pushed to parser at glm94/assm-test 2022-10-02 22:12:24 -05:00
55f4c32764 Missed this for the Scanner fix.
glm94 pushed to parser at glm94/assm-test 2022-10-01 20:44:09 -05:00
097eca383b Fixed a bug with the Scanner adding a blank line via a single NewLine Token when a file starts with a block of comments.
glm94 pushed to parser at glm94/assm-test 2022-09-29 22:57:19 -05:00
984683bfc5 Minor adjustment to Figure 1.1
glm94 pushed to parser at glm94/assm-test 2022-09-29 22:11:26 -05:00
0f42ad2997 Updated the ISA and added links in the table of contents.
glm94 pushed to parser at glm94/assm-test 2022-09-29 21:32:17 -05:00
63438b551b Got the scanner running again. Seems to be picking up punctuation, labels, identifiers and strings as expected.