From 28d6a88c02f10b75fb4c5cb46178d2ef71629494 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 1 Aug 2019 23:12:34 +1200 Subject: Refactor disassembler to move data through instruction list 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. --- test/full-pipeline/run-full-pipeline.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/full-pipeline/run-full-pipeline.sh') diff --git a/test/full-pipeline/run-full-pipeline.sh b/test/full-pipeline/run-full-pipeline.sh index 8598a8d..aeb7c4f 100755 --- a/test/full-pipeline/run-full-pipeline.sh +++ b/test/full-pipeline/run-full-pipeline.sh @@ -45,7 +45,7 @@ for first_stage_asm in *.asm ; do fi # Disassemble test code and re-assemble that disassembly - if ! "$DISASM" "$first_stage_bin" > "$second_stage_asm" ; then + if ! "$DISASM" "$first_stage_bin" "$second_stage_asm" ; then fail "$first_stage_asm" "first stage disassembly failed" continue fi -- cgit v1.1