summaryrefslogtreecommitdiff
path: root/disassembler.c
Commit message (Collapse)AuthorAge
* File input and output routines awayDavid Phillips2019-08-03
|
* Enable -Wall and -Wextra, fix warningsDavid Phillips2019-08-03
|
* Refactor disassembler to move data through instruction listDavid Phillips2019-08-03
| | | | | | | | This refactors the disassembler into two stages with the list of struct instruction (currently also output by the parse stage) as an "intermediate language" between disassembly and assembler output. This should make these units, especially the "machine code => IL" section, more reusable for future soft emulation work.
* Fix disasm treatment of branch offsetsDavid Phillips2019-08-03
| | | | | This patch makes the disassembler treat branch offsets as PC-relative rather than absolute.
* Implement quick disassemblerDavid Phillips2019-08-03