Ben Kurtovic
|
980383feee
|
Don't check INST_NARGS unless inst has optional arguments.
|
9 anni fa |
Ben Kurtovic
|
4bc8339ba1
|
Implement CALL; bugfix for condition 'Z'.
|
9 anni fa |
Ben Kurtovic
|
308af448d8
|
Don't check immediate's is_label if it's not a U16.
|
9 anni fa |
Ben Kurtovic
|
631bd33b64
|
Implement BIT instruction.
|
9 anni fa |
Ben Kurtovic
|
d1a0b97198
|
Fix indexed mode offset byte position.
|
9 anni fa |
Ben Kurtovic
|
5c6f1c288b
|
Implement AND; cleanup for unconditional subcases.
|
9 anni fa |
Ben Kurtovic
|
17f08dff4b
|
Fix behavior when combining indirect_hl_or_indexed and indirect.
|
9 anni fa |
Ben Kurtovic
|
eba6350f4e
|
Fix duplicate prefixes.
|
9 anni fa |
Ben Kurtovic
|
9642dfb6b0
|
Implement LD instruction; most remaining ASM instruction functionality.
|
9 anni fa |
Ben Kurtovic
|
de3cbf741c
|
Fix argparse_immediate() masks for large numbers.
|
9 anni fa |
Ben Kurtovic
|
981c4d4783
|
Disable ASan; bugfix for immediate masks.
|
9 anni fa |
Ben Kurtovic
|
76f2783b64
|
Implement new masking system for ASM instructions; bugfixes.
|
9 anni fa |
Ben Kurtovic
|
352296d6e2
|
Implement inc; make update script save updates; bugfix.
|
9 anni fa |
Ben Kurtovic
|
b8b9072416
|
Implement no-arg instructions and 'add'.
|
9 anni fa |
Ben Kurtovic
|
e987653c3b
|
Add more features to update_asm_instructions.py.
|
9 anni fa |
Ben Kurtovic
|
5f71035468
|
More work on asm instructions.
|
9 anni fa |
Ben Kurtovic
|
0548e5d18c
|
More work on update_asm_instructions.py
|
9 anni fa |
Ben Kurtovic
|
ade92aea51
|
Starting work on new ASM instructions system.
|
9 anni fa |
Ben Kurtovic
|
3d968c12b5
|
Add more to load instruction.
|
9 anni fa |
Ben Kurtovic
|
2e2e5d6216
|
Split off some of instructions into inst_support; fix z80 errors.
|
9 anni fa |
Ben Kurtovic
|
a00dda6686
|
Implement all ld a,<src> instructions.
|
9 anni fa |
Ben Kurtovic
|
08d9faa926
|
Support indirect labels; stub out LD instruction.
|
9 anni fa |
Ben Kurtovic
|
8babffb562
|
Implement most (all) of the no-argument instructions.
|
9 anni fa |
Ben Kurtovic
|
13b7b29157
|
Replace OOM checks with light wrappers around allocation functions.
|
9 anni fa |
Ben Kurtovic
|
cfebed6a33
|
Stub out all assembler instructions.
|
9 anni fa |
Ben Kurtovic
|
b6bea003d9
|
Alphabetize instructions; add ADC.
|
9 anni fa |
Ben Kurtovic
|
1c35adf276
|
Finish implementing .define/.undef directives.
|
9 anni fa |
Ben Kurtovic
|
1d6f832864
|
Make crater be quiet when assembling/disassembling is successful.
|
9 anni fa |
Ben Kurtovic
|
197ce39fd3
|
Do define substitution in argparsers; fix hashtables.
|
9 anni fa |
Ben Kurtovic
|
fdd8bb9e8a
|
Pass argparse args as a struct to make keeping track of deftabs easier.
|
9 anni fa |
Ben Kurtovic
|
2b5b7d8b23
|
Add hash_table_remove(); pass callback func in constructor.
|
9 anni fa |
Ben Kurtovic
|
7745a9cbac
|
Refactor; abstract out HashTable; start support for .DEFINEs.
|
9 anni fa |
Ben Kurtovic
|
145322071d
|
Support parsing labels; add checks for label length.
|
9 anni fa |
Ben Kurtovic
|
baa1c6f0e9
|
Implement indexed addressing, plus some bugfixes.
|
9 anni fa |
Ben Kurtovic
|
83f4ab380f
|
Implement parsing indirect args; fix immediates.
|
9 anni fa |
Ben Kurtovic
|
ab3acc4b43
|
Add add and reti instructions.
|
9 anni fa |
Ben Kurtovic
|
ae2fd5b2c8
|
Implement parsing of immediates; bugfix.
|
9 anni fa |
Ben Kurtovic
|
8bbca15e47
|
Parse condition codes.
|
9 anni fa |
Ben Kurtovic
|
de7aaf9aac
|
Add some additional macros to clean up inst parsers.
|
9 anni fa |
Ben Kurtovic
|
1830304c6c
|
More work on instruction parser.
|
9 anni fa |
Ben Kurtovic
|
2b300a2da1
|
Properly lower-case labels; ensure labels are not registers.
|
9 anni fa |
Ben Kurtovic
|
a13c3bb93d
|
Implement an insane(LY AWESOME) system for instruction parsing.
|
9 anni fa |
Ben Kurtovic
|
7765457495
|
Use nicer array initializer for Z80 ops.
|
9 anni fa |
Ben Kurtovic
|
4f791eef59
|
More on instruction parsing, including mnemonic handling.
|
9 anni fa |
Ben Kurtovic
|
295f6eb70f
|
Implement space directive; allow commas in .byte.
|
9 anni fa |
Ben Kurtovic
|
2ac961d801
|
Add some credits.
|
9 anni fa |
Ben Kurtovic
|
9f1c30e586
|
Disallow SMS ROMs for now.
|
9 anni fa |
Ben Kurtovic
|
d9e1020d74
|
Typedef rather than macro for func ptr.
|
9 anni fa |
Ben Kurtovic
|
ae17f5be4e
|
Finish parse_data().
|
9 anni fa |
Ben Kurtovic
|
4d7dc57061
|
Implement rom_product() and third-party lookups.
|
9 anni fa |