Ben Kurtovic
|
a2e42e94d3
|
Implement block-crossing check.
|
9 vuotta sitten |
Ben Kurtovic
|
bfba6cd709
|
Make ASMInstruction's bytes an array.
|
9 vuotta sitten |
Ben Kurtovic
|
dbec3feb75
|
Makefile improvement; remove optimizer; minor tweaks.
|
9 vuotta sitten |
Ben Kurtovic
|
9c895af762
|
Use nice initializer syntax for error strings rather than comments.
|
9 vuotta sitten |
Ben Kurtovic
|
0903955e48
|
Properly implement slots in the tokenizer.
|
9 vuotta sitten |
Ben Kurtovic
|
b8ad05578f
|
Refactor out tokenizer; start implementing paging knowledge.
|
9 vuotta sitten |
Ben Kurtovic
|
9397107e21
|
Fix MMU mirroring algo, support reading 48 KB ROMs.
|
9 vuotta sitten |
Ben Kurtovic
|
a7a3055325
|
More robust labels, implement symbol resolution.
|
9 vuotta sitten |
Ben Kurtovic
|
65c93cf6dc
|
Finish resolve_defaults().
|
9 vuotta sitten |
Ben Kurtovic
|
fe86957a64
|
Fix adding entries to overlap table; refactor.
|
9 vuotta sitten |
Ben Kurtovic
|
c46f1045ce
|
Layout checking logic.
|
9 vuotta sitten |
Ben Kurtovic
|
2c4e26de02
|
Implement hashing for symbol table.
|
9 vuotta sitten |
Ben Kurtovic
|
c37375e4be
|
Implement label reading, symtab operations (except hashing).
|
9 vuotta sitten |
Ben Kurtovic
|
bd37eb411d
|
Move string parsing to parse_util; some refactoring.
|
9 vuotta sitten |
Ben Kurtovic
|
f916d26f7c
|
Doc updates; .s -> .asm.
|
9 vuotta sitten |
Ben Kurtovic
|
0999915c40
|
Fully support labels on the same line as other instructions.
|
9 vuotta sitten |
Ben Kurtovic
|
52858aa2b5
|
Remove .align directive; add ASMData type.
|
9 vuotta sitten |
Ben Kurtovic
|
da537ff616
|
Phase one of tokenizer and data directives.
|
9 vuotta sitten |
Ben Kurtovic
|
05e0cbb0fb
|
Implement most of resolve_defaults(); fix for declsize default behavior.
|
9 vuotta sitten |
Ben Kurtovic
|
d7aac27e51
|
Finish preprocessor.
|
9 vuotta sitten |
Ben Kurtovic
|
0fe98bd048
|
Support string arguments to .rom_size, .rom_declsize.
|
9 vuotta sitten |
Ben Kurtovic
|
2cb9b2596c
|
Implement parsing .rom_size directive.
|
9 vuotta sitten |
Ben Kurtovic
|
971af841cf
|
Refactor directive macros to hide 'arg'; misc tweaks.
|
9 vuotta sitten |
Ben Kurtovic
|
b174ddd121
|
Implement parsing header size directive.
|
9 vuotta sitten |
Ben Kurtovic
|
eebb90530e
|
Rework the preprocessor system using insanity.
|
9 vuotta sitten |
Ben Kurtovic
|
40066b06aa
|
Implement header offset check; fix error handling.
|
9 vuotta sitten |
Ben Kurtovic
|
633351cf14
|
Finish region info parsing.
|
9 vuotta sitten |
Ben Kurtovic
|
4fcd8565a6
|
Refactor preprocess() again; start on region directive.
|
9 vuotta sitten |
Ben Kurtovic
|
174a8c24a1
|
Implement ROM version; reading 8- and 16-bit ints.
|
9 vuotta sitten |
Ben Kurtovic
|
dd8b99a48b
|
Split out parse_util, directives.
|
9 vuotta sitten |
Ben Kurtovic
|
e65bb69a52
|
Implement product code directive.
|
9 vuotta sitten |
Ben Kurtovic
|
eba603659a
|
Refactor out symbol table init; stop unused arg warnings for stubs.
|
9 vuotta sitten |
Ben Kurtovic
|
27f66f9791
|
Split out preprocessor from assembler.
|
9 vuotta sitten |
Ben Kurtovic
|
c8e102bcf2
|
More splitting of assembler internals.
|
9 vuotta sitten |
Ben Kurtovic
|
2186044476
|
Begin refactoring assembler into multiple files; fix use-after-free.
|
9 vuotta sitten |
Ben Kurtovic
|
f9276db105
|
Implement preprocessor for .optimizer.
|
9 vuotta sitten |
Ben Kurtovic
|
840227e560
|
Catch duplicates in preprocessor directives.
|
9 vuotta sitten |
Ben Kurtovic
|
720d1d124c
|
Directive processing stubs; fix directive matching.
|
9 vuotta sitten |
Ben Kurtovic
|
5cf943fd7e
|
Handle infinite recursion in include directives.
|
9 vuotta sitten |
Ben Kurtovic
|
2879ac1350
|
Add ASM error strings; refactor somewhat.
|
9 vuotta sitten |
Ben Kurtovic
|
b7871b77e5
|
Rough mockup for error handling.
|
9 vuotta sitten |
Ben Kurtovic
|
3a4cd414be
|
Add parsing for include directives, etc.
|
9 vuotta sitten |
Ben Kurtovic
|
f5e1f19ab6
|
Enable ASAN for debug builds.
|
9 vuotta sitten |
Ben Kurtovic
|
8da3663670
|
Implement normalize_line(), misc.
|
9 vuotta sitten |
Ben Kurtovic
|
22b771d39a
|
Lots of work on assembler internal structure; refactor.
|
9 vuotta sitten |
Ben Kurtovic
|
b89f5fa1bf
|
Start working on assembler.
|
9 vuotta sitten |
Ben Kurtovic
|
57dd9265a3
|
More robust checksum code.
|
9 vuotta sitten |
Ben Kurtovic
|
ced62acfbb
|
Implement checksum validation method.
|
9 vuotta sitten |
Ben Kurtovic
|
e74daecb81
|
Print out decimal register values too; add more tests.
|
9 vuotta sitten |
Ben Kurtovic
|
ec73b63ba1
|
Add more basic math tests.
|
9 vuotta sitten |