add roundtrip disasm tests for all cpus

This commit is contained in:
mrdudz
2025-06-22 01:18:41 +02:00
parent 233c784c03
commit 1d7bc938f2
9 changed files with 1269 additions and 0 deletions

9
test/dasm/readme.txt Normal file
View File

@@ -0,0 +1,9 @@
Per CPU, a test binary is produced (using the assembler), which should contain
all possible instructions. That file is then disassembled, and assembled again,
and finally the resulting binary compared with the binary produced in the first
step.
Given that we assume the assembler works (this is tested in other/previous
tests), this proves that the disassembler works, and can produce output that the
assembler will understand - and produce an identical binary from.