Ben Kurtovic
|
a74c4ab405
|
Refactor debug logging as distinct from dev build; add tracing.
|
pirms 8 gadiem |
Ben Kurtovic
|
13b7b29157
|
Replace OOM checks with light wrappers around allocation functions.
|
pirms 9 gadiem |
Ben Kurtovic
|
1c35adf276
|
Finish implementing .define/.undef directives.
|
pirms 9 gadiem |
Ben Kurtovic
|
2b300a2da1
|
Properly lower-case labels; ensure labels are not registers.
|
pirms 9 gadiem |
Ben Kurtovic
|
a839e8571c
|
Use a max depth for includes rather than trying to detect recursion.
|
pirms 9 gadiem |
Ben Kurtovic
|
dbec3feb75
|
Makefile improvement; remove optimizer; minor tweaks.
|
pirms 9 gadiem |
Ben Kurtovic
|
9c895af762
|
Use nice initializer syntax for error strings rather than comments.
|
pirms 9 gadiem |
Ben Kurtovic
|
b8ad05578f
|
Refactor out tokenizer; start implementing paging knowledge.
|
pirms 9 gadiem |
Ben Kurtovic
|
a7a3055325
|
More robust labels, implement symbol resolution.
|
pirms 9 gadiem |
Ben Kurtovic
|
bd37eb411d
|
Move string parsing to parse_util; some refactoring.
|
pirms 9 gadiem |
Ben Kurtovic
|
f916d26f7c
|
Doc updates; .s -> .asm.
|
pirms 9 gadiem |
Ben Kurtovic
|
0999915c40
|
Fully support labels on the same line as other instructions.
|
pirms 9 gadiem |
Ben Kurtovic
|
da537ff616
|
Phase one of tokenizer and data directives.
|
pirms 9 gadiem |
Ben Kurtovic
|
05e0cbb0fb
|
Implement most of resolve_defaults(); fix for declsize default behavior.
|
pirms 9 gadiem |
Ben Kurtovic
|
d7aac27e51
|
Finish preprocessor.
|
pirms 9 gadiem |
Ben Kurtovic
|
0fe98bd048
|
Support string arguments to .rom_size, .rom_declsize.
|
pirms 9 gadiem |
Ben Kurtovic
|
2cb9b2596c
|
Implement parsing .rom_size directive.
|
pirms 9 gadiem |
Ben Kurtovic
|
971af841cf
|
Refactor directive macros to hide 'arg'; misc tweaks.
|
pirms 9 gadiem |
Ben Kurtovic
|
b174ddd121
|
Implement parsing header size directive.
|
pirms 9 gadiem |
Ben Kurtovic
|
eebb90530e
|
Rework the preprocessor system using insanity.
|
pirms 9 gadiem |
Ben Kurtovic
|
40066b06aa
|
Implement header offset check; fix error handling.
|
pirms 9 gadiem |
Ben Kurtovic
|
633351cf14
|
Finish region info parsing.
|
pirms 9 gadiem |
Ben Kurtovic
|
4fcd8565a6
|
Refactor preprocess() again; start on region directive.
|
pirms 9 gadiem |
Ben Kurtovic
|
174a8c24a1
|
Implement ROM version; reading 8- and 16-bit ints.
|
pirms 9 gadiem |
Ben Kurtovic
|
dd8b99a48b
|
Split out parse_util, directives.
|
pirms 9 gadiem |
Ben Kurtovic
|
e65bb69a52
|
Implement product code directive.
|
pirms 9 gadiem |
Ben Kurtovic
|
27f66f9791
|
Split out preprocessor from assembler.
|
pirms 9 gadiem |
Ben Kurtovic
|
c8e102bcf2
|
More splitting of assembler internals.
|
pirms 9 gadiem |
Ben Kurtovic
|
2186044476
|
Begin refactoring assembler into multiple files; fix use-after-free.
|
pirms 9 gadiem |
Ben Kurtovic
|
f9276db105
|
Implement preprocessor for .optimizer.
|
pirms 9 gadiem |
Ben Kurtovic
|
840227e560
|
Catch duplicates in preprocessor directives.
|
pirms 9 gadiem |
Ben Kurtovic
|
720d1d124c
|
Directive processing stubs; fix directive matching.
|
pirms 9 gadiem |
Ben Kurtovic
|
5cf943fd7e
|
Handle infinite recursion in include directives.
|
pirms 9 gadiem |
Ben Kurtovic
|
2879ac1350
|
Add ASM error strings; refactor somewhat.
|
pirms 9 gadiem |
Ben Kurtovic
|
b7871b77e5
|
Rough mockup for error handling.
|
pirms 9 gadiem |
Ben Kurtovic
|
3a4cd414be
|
Add parsing for include directives, etc.
|
pirms 9 gadiem |
Ben Kurtovic
|
8da3663670
|
Implement normalize_line(), misc.
|
pirms 9 gadiem |
Ben Kurtovic
|
22b771d39a
|
Lots of work on assembler internal structure; refactor.
|
pirms 9 gadiem |
Ben Kurtovic
|
b89f5fa1bf
|
Start working on assembler.
|
pirms 9 gadiem |
Ben Kurtovic
|
103dfaf841
|
Stub out assembler/disassembler code.
|
pirms 9 gadiem |