Ben Kurtovic
|
145322071d
|
Support parsing labels; add checks for label length.
|
9 years ago |
Ben Kurtovic
|
ab3acc4b43
|
Add add and reti instructions.
|
9 years ago |
Ben Kurtovic
|
8bbca15e47
|
Parse condition codes.
|
9 years ago |
Ben Kurtovic
|
1830304c6c
|
More work on instruction parser.
|
9 years ago |
Ben Kurtovic
|
2b300a2da1
|
Properly lower-case labels; ensure labels are not registers.
|
9 years ago |
Ben Kurtovic
|
a13c3bb93d
|
Implement an insane(LY AWESOME) system for instruction parsing.
|
9 years ago |
Ben Kurtovic
|
4f791eef59
|
More on instruction parsing, including mnemonic handling.
|
9 years ago |
Ben Kurtovic
|
a839e8571c
|
Use a max depth for includes rather than trying to detect recursion.
|
9 years ago |
Ben Kurtovic
|
a2e42e94d3
|
Implement block-crossing check.
|
9 years ago |
Ben Kurtovic
|
9c895af762
|
Use nice initializer syntax for error strings rather than comments.
|
9 years ago |
Ben Kurtovic
|
0903955e48
|
Properly implement slots in the tokenizer.
|
9 years ago |
Ben Kurtovic
|
b8ad05578f
|
Refactor out tokenizer; start implementing paging knowledge.
|
9 years ago |
Ben Kurtovic
|
a7a3055325
|
More robust labels, implement symbol resolution.
|
9 years ago |
Ben Kurtovic
|
c46f1045ce
|
Layout checking logic.
|
9 years ago |
Ben Kurtovic
|
c37375e4be
|
Implement label reading, symtab operations (except hashing).
|
9 years ago |
Ben Kurtovic
|
da537ff616
|
Phase one of tokenizer and data directives.
|
9 years ago |
Ben Kurtovic
|
d7aac27e51
|
Finish preprocessor.
|
9 years ago |
Ben Kurtovic
|
e65bb69a52
|
Implement product code directive.
|
9 years ago |
Ben Kurtovic
|
c8e102bcf2
|
More splitting of assembler internals.
|
9 years ago |
Ben Kurtovic
|
2186044476
|
Begin refactoring assembler into multiple files; fix use-after-free.
|
9 years ago |
Ben Kurtovic
|
f9276db105
|
Implement preprocessor for .optimizer.
|
9 years ago |
Ben Kurtovic
|
840227e560
|
Catch duplicates in preprocessor directives.
|
9 years ago |
Ben Kurtovic
|
720d1d124c
|
Directive processing stubs; fix directive matching.
|
9 years ago |
Ben Kurtovic
|
5cf943fd7e
|
Handle infinite recursion in include directives.
|
9 years ago |
Ben Kurtovic
|
2879ac1350
|
Add ASM error strings; refactor somewhat.
|
9 years ago |