Ben Kurtovic
|
a74c4ab405
|
Refactor debug logging as distinct from dev build; add tracing.
|
8 years ago |
Ben Kurtovic
|
a3b943aebb
|
Fix implementation of ASCIIz strings.
|
8 years ago |
Ben Kurtovic
|
76f2783b64
|
Implement new masking system for ASM instructions; bugfixes.
|
9 years ago |
Ben Kurtovic
|
ade92aea51
|
Starting work on new ASM instructions system.
|
9 years ago |
Ben Kurtovic
|
13b7b29157
|
Replace OOM checks with light wrappers around allocation functions.
|
9 years ago |
Ben Kurtovic
|
1c35adf276
|
Finish implementing .define/.undef directives.
|
9 years ago |
Ben Kurtovic
|
fdd8bb9e8a
|
Pass argparse args as a struct to make keeping track of deftabs easier.
|
9 years ago |
Ben Kurtovic
|
7745a9cbac
|
Refactor; abstract out HashTable; start support for .DEFINEs.
|
9 years ago |
Ben Kurtovic
|
145322071d
|
Support parsing labels; add checks for label length.
|
9 years ago |
Ben Kurtovic
|
ae2fd5b2c8
|
Implement parsing of immediates; bugfix.
|
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
|
295f6eb70f
|
Implement space directive; allow commas in .byte.
|
9 years ago |
Ben Kurtovic
|
9f1c30e586
|
Disallow SMS ROMs for now.
|
9 years ago |
Ben Kurtovic
|
d9e1020d74
|
Typedef rather than macro for func ptr.
|
9 years ago |
Ben Kurtovic
|
ae17f5be4e
|
Finish parse_data().
|
9 years ago |
Ben Kurtovic
|
82f2d9740a
|
Implement parse_bytes(), bugfixes, improve error messages.
|
9 years ago |
Ben Kurtovic
|
a2e42e94d3
|
Implement block-crossing check.
|
9 years ago |
Ben Kurtovic
|
bfba6cd709
|
Make ASMInstruction's bytes an array.
|
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 |