Ben Kurtovic
|
da2a767459
|
Fix a broken jump argument; use hex for ports.
|
il y a 8 ans |
Ben Kurtovic
|
1818c1eede
|
Fix assembler bugs in "ex af, af'" and "ex (sp), hl".
|
il y a 8 ans |
Ben Kurtovic
|
0e0c81589f
|
(Very basic) working disassembler.
|
il y a 8 ans |
Ben Kurtovic
|
fb9d6e1b2b
|
Work on ROM file (i.e., non-inline) disassembler.
|
il y a 8 ans |
Ben Kurtovic
|
962171b7ee
|
Store a few extra header fields in the ROM struct; typo fix.
|
il y a 8 ans |
Ben Kurtovic
|
4047d6e3f4
|
Fill out instruction argument tables.
|
il y a 8 ans |
Ben Kurtovic
|
43e641fabd
|
Finish argument immediate decoding.
|
il y a 8 ans |
Ben Kurtovic
|
610f9cf549
|
Start filling out argument decoder table; make things const.
|
il y a 8 ans |
Ben Kurtovic
|
dd83c7bddf
|
Start working on argument disassembler.
|
il y a 8 ans |
Ben Kurtovic
|
89d3d65cde
|
Finish mnemonics; shorten size tables.
|
il y a 8 ans |
Ben Kurtovic
|
643b0184d7
|
Implement more load instructions; bugfixes.
|
il y a 8 ans |
Ben Kurtovic
|
bbb3fc3744
|
Don't trace previous instruction multiple times
|
il y a 8 ans |
Ben Kurtovic
|
0acd77f6ae
|
Fix shadow registers.
|
il y a 8 ans |
Ben Kurtovic
|
560eceeedf
|
EXX, DI, EI, HALT
|
il y a 8 ans |
Ben Kurtovic
|
ba701545b2
|
Fix assembler bug involving extended immediates.
|
il y a 8 ans |
Ben Kurtovic
|
cf1985bee9
|
Implement more load instructions.
|
il y a 8 ans |
Ben Kurtovic
|
6ba2ec6645
|
Fill single-opcode mnemonics.
|
il y a 8 ans |
Ben Kurtovic
|
235e4c7cff
|
Begin work on disassembler; extend tracing.
|
il y a 8 ans |
Ben Kurtovic
|
6e6e613dad
|
Refactor and improve argument parsing (add support for -abcd)
|
il y a 8 ans |
Ben Kurtovic
|
1a00100fe6
|
Add color to logs
|
il y a 8 ans |
Ben Kurtovic
|
a74c4ab405
|
Refactor debug logging as distinct from dev build; add tracing.
|
il y a 8 ans |
Ben Kurtovic
|
a3b943aebb
|
Fix implementation of ASCIIz strings.
|
il y a 8 ans |
Ben Kurtovic
|
e66b158aa9
|
Copyright year bumps; minor tweaks.
|
il y a 8 ans |
Ben Kurtovic
|
49237080a2
|
Start reorganizing for tests; add cloc.sh; fix version.
|
il y a 9 ans |
Ben Kurtovic
|
107d6df949
|
Remove unnecessary arg from _call_args().
|
il y a 9 ans |
Ben Kurtovic
|
3b757cced7
|
Add a rst() function.
|
il y a 9 ans |
Ben Kurtovic
|
8111a3e234
|
Finish adding reg() to instructions.yml.
|
il y a 9 ans |
Ben Kurtovic
|
e12b7ee559
|
Replace step with reg/cond, which are smarter; replace 'cond' with 'if'.
|
il y a 9 ans |
Ben Kurtovic
|
02cedd4c2b
|
Finish adding step() to instructions.yml.
|
il y a 9 ans |
Ben Kurtovic
|
9b611e1c9a
|
Support step() with bit() and pseudo-cases.
|
il y a 9 ans |
Ben Kurtovic
|
c3ab17f18e
|
Add a step() function to reduce repetition in instructions.yml.
|
il y a 9 ans |
Ben Kurtovic
|
8f18c3ac14
|
Remove a lot of code duplication.
|
il y a 9 ans |
Ben Kurtovic
|
764211a379
|
Implement RRD, RST, SBC, SUB, and XOR.
|
il y a 9 ans |
Ben Kurtovic
|
a8de15de2d
|
Implement RL, RLC, RR, RRC, SLA, SRA, SRL, and SL1/SLL/SLS.
|
il y a 9 ans |
Ben Kurtovic
|
071cad0563
|
Support instructions with args and no args; implement RET.
|
il y a 9 ans |
Ben Kurtovic
|
f341148eb7
|
Implement POP, PUSH, RES, and SET.
|
il y a 9 ans |
Ben Kurtovic
|
5fab99ee17
|
Implement JP, JR, OR, OUT.
|
il y a 9 ans |
Ben Kurtovic
|
b5459549b0
|
Support ports in update script; implement EX/IM/IN.
|
il y a 9 ans |
Ben Kurtovic
|
5e9b890285
|
Support relative addressing in update script; implement CP/DEC/DJNZ.
|
il y a 9 ans |
Ben Kurtovic
|
980383feee
|
Don't check INST_NARGS unless inst has optional arguments.
|
il y a 9 ans |
Ben Kurtovic
|
4bc8339ba1
|
Implement CALL; bugfix for condition 'Z'.
|
il y a 9 ans |
Ben Kurtovic
|
308af448d8
|
Don't check immediate's is_label if it's not a U16.
|
il y a 9 ans |
Ben Kurtovic
|
631bd33b64
|
Implement BIT instruction.
|
il y a 9 ans |
Ben Kurtovic
|
d1a0b97198
|
Fix indexed mode offset byte position.
|
il y a 9 ans |
Ben Kurtovic
|
5c6f1c288b
|
Implement AND; cleanup for unconditional subcases.
|
il y a 9 ans |
Ben Kurtovic
|
17f08dff4b
|
Fix behavior when combining indirect_hl_or_indexed and indirect.
|
il y a 9 ans |
Ben Kurtovic
|
eba6350f4e
|
Fix duplicate prefixes.
|
il y a 9 ans |
Ben Kurtovic
|
9642dfb6b0
|
Implement LD instruction; most remaining ASM instruction functionality.
|
il y a 9 ans |
Ben Kurtovic
|
de3cbf741c
|
Fix argparse_immediate() masks for large numbers.
|
il y a 9 ans |
Ben Kurtovic
|
981c4d4783
|
Disable ASan; bugfix for immediate masks.
|
il y a 9 ans |