Ben Kurtovic
|
a74c4ab405
|
Refactor debug logging as distinct from dev build; add tracing.
|
8 years ago |
Ben Kurtovic
|
13b7b29157
|
Replace OOM checks with light wrappers around allocation functions.
|
9 years ago |
Ben Kurtovic
|
1d6f832864
|
Make crater be quiet when assembling/disassembling is successful.
|
9 years ago |
Ben Kurtovic
|
05c63c3f1c
|
Implement serialize_binary() and header writing.
|
9 years ago |
Ben Kurtovic
|
bfba6cd709
|
Make ASMInstruction's bytes an array.
|
9 years ago |
Ben Kurtovic
|
b8ad05578f
|
Refactor out tokenizer; start implementing paging knowledge.
|
9 years ago |
Ben Kurtovic
|
9397107e21
|
Fix MMU mirroring algo, support reading 48 KB ROMs.
|
9 years ago |
Ben Kurtovic
|
a7a3055325
|
More robust labels, implement symbol resolution.
|
9 years ago |
Ben Kurtovic
|
65c93cf6dc
|
Finish resolve_defaults().
|
9 years ago |
Ben Kurtovic
|
fe86957a64
|
Fix adding entries to overlap table; refactor.
|
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
|
bd37eb411d
|
Move string parsing to parse_util; some refactoring.
|
9 years ago |
Ben Kurtovic
|
f916d26f7c
|
Doc updates; .s -> .asm.
|
9 years ago |
Ben Kurtovic
|
52858aa2b5
|
Remove .align directive; add ASMData type.
|
9 years ago |
Ben Kurtovic
|
da537ff616
|
Phase one of tokenizer and data directives.
|
9 years ago |
Ben Kurtovic
|
05e0cbb0fb
|
Implement most of resolve_defaults(); fix for declsize default behavior.
|
9 years ago |
Ben Kurtovic
|
d7aac27e51
|
Finish preprocessor.
|
9 years ago |
Ben Kurtovic
|
b174ddd121
|
Implement parsing header size directive.
|
9 years ago |
Ben Kurtovic
|
eba603659a
|
Refactor out symbol table init; stop unused arg warnings for stubs.
|
9 years ago |
Ben Kurtovic
|
27f66f9791
|
Split out preprocessor from assembler.
|
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 |
Ben Kurtovic
|
b7871b77e5
|
Rough mockup for error handling.
|
9 years ago |
Ben Kurtovic
|
3a4cd414be
|
Add parsing for include directives, etc.
|
9 years ago |
Ben Kurtovic
|
8da3663670
|
Implement normalize_line(), misc.
|
9 years ago |
Ben Kurtovic
|
22b771d39a
|
Lots of work on assembler internal structure; refactor.
|
9 years ago |
Ben Kurtovic
|
b89f5fa1bf
|
Start working on assembler.
|
9 years ago |
Ben Kurtovic
|
103dfaf841
|
Stub out assembler/disassembler code.
|
9 years ago |