Ben Kurtovic
|
1818c1eede
|
Fix assembler bugs in "ex af, af'" and "ex (sp), hl".
|
8 years ago |
Ben Kurtovic
|
4bc8339ba1
|
Implement CALL; bugfix for condition 'Z'.
|
9 years ago |
Ben Kurtovic
|
de3cbf741c
|
Fix argparse_immediate() masks for large numbers.
|
9 years ago |
Ben Kurtovic
|
981c4d4783
|
Disable ASan; bugfix for immediate masks.
|
9 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
|
08d9faa926
|
Support indirect labels; stub out LD instruction.
|
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
|
197ce39fd3
|
Do define substitution in argparsers; fix hashtables.
|
9 years ago |
Ben Kurtovic
|
fdd8bb9e8a
|
Pass argparse args as a struct to make keeping track of deftabs easier.
|
9 years ago |
Ben Kurtovic
|
145322071d
|
Support parsing labels; add checks for label length.
|
9 years ago |
Ben Kurtovic
|
baa1c6f0e9
|
Implement indexed addressing, plus some bugfixes.
|
9 years ago |
Ben Kurtovic
|
83f4ab380f
|
Implement parsing indirect args; fix immediates.
|
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
|
2b300a2da1
|
Properly lower-case labels; ensure labels are not registers.
|
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
|
82f2d9740a
|
Implement parse_bytes(), bugfixes, improve error messages.
|
9 years ago |
Ben Kurtovic
|
b8ad05578f
|
Refactor out tokenizer; start implementing paging knowledge.
|
9 years ago |
Ben Kurtovic
|
bd37eb411d
|
Move string parsing to parse_util; some refactoring.
|
9 years ago |
Ben Kurtovic
|
05e0cbb0fb
|
Implement most of resolve_defaults(); fix for declsize default behavior.
|
9 years ago |
Ben Kurtovic
|
0fe98bd048
|
Support string arguments to .rom_size, .rom_declsize.
|
9 years ago |
Ben Kurtovic
|
2cb9b2596c
|
Implement parsing .rom_size directive.
|
9 years ago |
Ben Kurtovic
|
971af841cf
|
Refactor directive macros to hide 'arg'; misc tweaks.
|
9 years ago |
Ben Kurtovic
|
eebb90530e
|
Rework the preprocessor system using insanity.
|
9 years ago |
Ben Kurtovic
|
633351cf14
|
Finish region info parsing.
|
9 years ago |
Ben Kurtovic
|
4fcd8565a6
|
Refactor preprocess() again; start on region directive.
|
9 years ago |
Ben Kurtovic
|
174a8c24a1
|
Implement ROM version; reading 8- and 16-bit ints.
|
9 years ago |
Ben Kurtovic
|
dd8b99a48b
|
Split out parse_util, directives.
|
9 years ago |