Ben Kurtovic
|
b6bea003d9
|
Alphabetize instructions; add ADC.
|
9 anos atrás |
Ben Kurtovic
|
1c35adf276
|
Finish implementing .define/.undef directives.
|
9 anos atrás |
Ben Kurtovic
|
1d6f832864
|
Make crater be quiet when assembling/disassembling is successful.
|
9 anos atrás |
Ben Kurtovic
|
197ce39fd3
|
Do define substitution in argparsers; fix hashtables.
|
9 anos atrás |
Ben Kurtovic
|
fdd8bb9e8a
|
Pass argparse args as a struct to make keeping track of deftabs easier.
|
9 anos atrás |
Ben Kurtovic
|
2b5b7d8b23
|
Add hash_table_remove(); pass callback func in constructor.
|
9 anos atrás |
Ben Kurtovic
|
7745a9cbac
|
Refactor; abstract out HashTable; start support for .DEFINEs.
|
9 anos atrás |
Ben Kurtovic
|
145322071d
|
Support parsing labels; add checks for label length.
|
9 anos atrás |
Ben Kurtovic
|
baa1c6f0e9
|
Implement indexed addressing, plus some bugfixes.
|
9 anos atrás |
Ben Kurtovic
|
83f4ab380f
|
Implement parsing indirect args; fix immediates.
|
9 anos atrás |
Ben Kurtovic
|
ab3acc4b43
|
Add add and reti instructions.
|
9 anos atrás |
Ben Kurtovic
|
ae2fd5b2c8
|
Implement parsing of immediates; bugfix.
|
9 anos atrás |
Ben Kurtovic
|
8bbca15e47
|
Parse condition codes.
|
9 anos atrás |
Ben Kurtovic
|
de7aaf9aac
|
Add some additional macros to clean up inst parsers.
|
9 anos atrás |
Ben Kurtovic
|
1830304c6c
|
More work on instruction parser.
|
9 anos atrás |
Ben Kurtovic
|
2b300a2da1
|
Properly lower-case labels; ensure labels are not registers.
|
9 anos atrás |
Ben Kurtovic
|
a13c3bb93d
|
Implement an insane(LY AWESOME) system for instruction parsing.
|
9 anos atrás |
Ben Kurtovic
|
7765457495
|
Use nicer array initializer for Z80 ops.
|
9 anos atrás |
Ben Kurtovic
|
4f791eef59
|
More on instruction parsing, including mnemonic handling.
|
9 anos atrás |
Ben Kurtovic
|
295f6eb70f
|
Implement space directive; allow commas in .byte.
|
9 anos atrás |
Ben Kurtovic
|
9f1c30e586
|
Disallow SMS ROMs for now.
|
9 anos atrás |
Ben Kurtovic
|
d9e1020d74
|
Typedef rather than macro for func ptr.
|
9 anos atrás |
Ben Kurtovic
|
ae17f5be4e
|
Finish parse_data().
|
9 anos atrás |
Ben Kurtovic
|
4d7dc57061
|
Implement rom_product() and third-party lookups.
|
9 anos atrás |
Ben Kurtovic
|
d47ce5735b
|
Stub out rom_product(); minor tweak.
|
9 anos atrás |
Ben Kurtovic
|
a839e8571c
|
Use a max depth for includes rather than trying to detect recursion.
|
9 anos atrás |
Ben Kurtovic
|
05c63c3f1c
|
Implement serialize_binary() and header writing.
|
9 anos atrás |
Ben Kurtovic
|
82f2d9740a
|
Implement parse_bytes(), bugfixes, improve error messages.
|
9 anos atrás |
Ben Kurtovic
|
1383d57f29
|
Remove NULL checks before free().
|
9 anos atrás |
Ben Kurtovic
|
a2e42e94d3
|
Implement block-crossing check.
|
9 anos atrás |
Ben Kurtovic
|
bfba6cd709
|
Make ASMInstruction's bytes an array.
|
9 anos atrás |
Ben Kurtovic
|
dbec3feb75
|
Makefile improvement; remove optimizer; minor tweaks.
|
9 anos atrás |
Ben Kurtovic
|
9c895af762
|
Use nice initializer syntax for error strings rather than comments.
|
9 anos atrás |
Ben Kurtovic
|
0903955e48
|
Properly implement slots in the tokenizer.
|
9 anos atrás |
Ben Kurtovic
|
b8ad05578f
|
Refactor out tokenizer; start implementing paging knowledge.
|
9 anos atrás |
Ben Kurtovic
|
9397107e21
|
Fix MMU mirroring algo, support reading 48 KB ROMs.
|
9 anos atrás |
Ben Kurtovic
|
a7a3055325
|
More robust labels, implement symbol resolution.
|
9 anos atrás |
Ben Kurtovic
|
65c93cf6dc
|
Finish resolve_defaults().
|
9 anos atrás |
Ben Kurtovic
|
fe86957a64
|
Fix adding entries to overlap table; refactor.
|
9 anos atrás |
Ben Kurtovic
|
c46f1045ce
|
Layout checking logic.
|
9 anos atrás |
Ben Kurtovic
|
2c4e26de02
|
Implement hashing for symbol table.
|
9 anos atrás |
Ben Kurtovic
|
c37375e4be
|
Implement label reading, symtab operations (except hashing).
|
9 anos atrás |
Ben Kurtovic
|
bd37eb411d
|
Move string parsing to parse_util; some refactoring.
|
9 anos atrás |
Ben Kurtovic
|
f916d26f7c
|
Doc updates; .s -> .asm.
|
9 anos atrás |
Ben Kurtovic
|
0999915c40
|
Fully support labels on the same line as other instructions.
|
9 anos atrás |
Ben Kurtovic
|
52858aa2b5
|
Remove .align directive; add ASMData type.
|
9 anos atrás |
Ben Kurtovic
|
da537ff616
|
Phase one of tokenizer and data directives.
|
9 anos atrás |
Ben Kurtovic
|
05e0cbb0fb
|
Implement most of resolve_defaults(); fix for declsize default behavior.
|
9 anos atrás |
Ben Kurtovic
|
d7aac27e51
|
Finish preprocessor.
|
9 anos atrás |
Ben Kurtovic
|
0fe98bd048
|
Support string arguments to .rom_size, .rom_declsize.
|
9 anos atrás |