Ben Kurtovic
|
d6d3b60b3e
|
Fix a couple assembler bugs involving obscure instructions.
|
8 anos atrás |
Ben Kurtovic
|
1818c1eede
|
Fix assembler bugs in "ex af, af'" and "ex (sp), hl".
|
8 anos atrás |
Ben Kurtovic
|
ba701545b2
|
Fix assembler bug involving extended immediates.
|
8 anos atrás |
Ben Kurtovic
|
a74c4ab405
|
Refactor debug logging as distinct from dev build; add tracing.
|
8 anos atrás |
Ben Kurtovic
|
a3b943aebb
|
Fix implementation of ASCIIz strings.
|
8 anos atrás |
Ben Kurtovic
|
e66b158aa9
|
Copyright year bumps; minor tweaks.
|
8 anos atrás |
Ben Kurtovic
|
107d6df949
|
Remove unnecessary arg from _call_args().
|
9 anos atrás |
Ben Kurtovic
|
3b757cced7
|
Add a rst() function.
|
9 anos atrás |
Ben Kurtovic
|
8111a3e234
|
Finish adding reg() to instructions.yml.
|
9 anos atrás |
Ben Kurtovic
|
e12b7ee559
|
Replace step with reg/cond, which are smarter; replace 'cond' with 'if'.
|
9 anos atrás |
Ben Kurtovic
|
02cedd4c2b
|
Finish adding step() to instructions.yml.
|
9 anos atrás |
Ben Kurtovic
|
9b611e1c9a
|
Support step() with bit() and pseudo-cases.
|
9 anos atrás |
Ben Kurtovic
|
c3ab17f18e
|
Add a step() function to reduce repetition in instructions.yml.
|
9 anos atrás |
Ben Kurtovic
|
8f18c3ac14
|
Remove a lot of code duplication.
|
9 anos atrás |
Ben Kurtovic
|
764211a379
|
Implement RRD, RST, SBC, SUB, and XOR.
|
9 anos atrás |
Ben Kurtovic
|
a8de15de2d
|
Implement RL, RLC, RR, RRC, SLA, SRA, SRL, and SL1/SLL/SLS.
|
9 anos atrás |
Ben Kurtovic
|
071cad0563
|
Support instructions with args and no args; implement RET.
|
9 anos atrás |
Ben Kurtovic
|
f341148eb7
|
Implement POP, PUSH, RES, and SET.
|
9 anos atrás |
Ben Kurtovic
|
5fab99ee17
|
Implement JP, JR, OR, OUT.
|
9 anos atrás |
Ben Kurtovic
|
b5459549b0
|
Support ports in update script; implement EX/IM/IN.
|
9 anos atrás |
Ben Kurtovic
|
5e9b890285
|
Support relative addressing in update script; implement CP/DEC/DJNZ.
|
9 anos atrás |
Ben Kurtovic
|
980383feee
|
Don't check INST_NARGS unless inst has optional arguments.
|
9 anos atrás |
Ben Kurtovic
|
4bc8339ba1
|
Implement CALL; bugfix for condition 'Z'.
|
9 anos atrás |
Ben Kurtovic
|
308af448d8
|
Don't check immediate's is_label if it's not a U16.
|
9 anos atrás |
Ben Kurtovic
|
631bd33b64
|
Implement BIT instruction.
|
9 anos atrás |
Ben Kurtovic
|
d1a0b97198
|
Fix indexed mode offset byte position.
|
9 anos atrás |
Ben Kurtovic
|
5c6f1c288b
|
Implement AND; cleanup for unconditional subcases.
|
9 anos atrás |
Ben Kurtovic
|
17f08dff4b
|
Fix behavior when combining indirect_hl_or_indexed and indirect.
|
9 anos atrás |
Ben Kurtovic
|
eba6350f4e
|
Fix duplicate prefixes.
|
9 anos atrás |
Ben Kurtovic
|
9642dfb6b0
|
Implement LD instruction; most remaining ASM instruction functionality.
|
9 anos atrás |
Ben Kurtovic
|
de3cbf741c
|
Fix argparse_immediate() masks for large numbers.
|
9 anos atrás |
Ben Kurtovic
|
981c4d4783
|
Disable ASan; bugfix for immediate masks.
|
9 anos atrás |
Ben Kurtovic
|
76f2783b64
|
Implement new masking system for ASM instructions; bugfixes.
|
9 anos atrás |
Ben Kurtovic
|
352296d6e2
|
Implement inc; make update script save updates; bugfix.
|
9 anos atrás |
Ben Kurtovic
|
b8b9072416
|
Implement no-arg instructions and 'add'.
|
9 anos atrás |
Ben Kurtovic
|
e987653c3b
|
Add more features to update_asm_instructions.py.
|
9 anos atrás |
Ben Kurtovic
|
5f71035468
|
More work on asm instructions.
|
9 anos atrás |
Ben Kurtovic
|
ade92aea51
|
Starting work on new ASM instructions system.
|
9 anos atrás |
Ben Kurtovic
|
3d968c12b5
|
Add more to load instruction.
|
9 anos atrás |
Ben Kurtovic
|
2e2e5d6216
|
Split off some of instructions into inst_support; fix z80 errors.
|
9 anos atrás |
Ben Kurtovic
|
a00dda6686
|
Implement all ld a,<src> instructions.
|
9 anos atrás |
Ben Kurtovic
|
08d9faa926
|
Support indirect labels; stub out LD instruction.
|
9 anos atrás |
Ben Kurtovic
|
8babffb562
|
Implement most (all) of the no-argument instructions.
|
9 anos atrás |
Ben Kurtovic
|
13b7b29157
|
Replace OOM checks with light wrappers around allocation functions.
|
9 anos atrás |
Ben Kurtovic
|
cfebed6a33
|
Stub out all assembler instructions.
|
9 anos atrás |
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
|
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 |