diff options
author | Oxore <oxore@protonmail.com> | 2023-04-29 12:40:11 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-04-29 12:40:11 +0300 |
commit | e8db23a8b94edad65dfede4ae2077c6788e53de0 (patch) | |
tree | 77cd1b4f3ea1a6ec5d2acceff1ec237cf6aa2764 /test.bash | |
parent | 4fd3c8816225d8241b4ba8e6e87722992fa7171e (diff) |
Fix some edge case for dbcc found on random tests
Diffstat (limited to 'test.bash')
-rw-r--r-- | test.bash | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -32,7 +32,7 @@ run_test_simple() { echo -ne "Test \"${test_name}\"... " echo -ne "${data}" >${file_orig_bin} ${DISASM} -t ${TRACE_FILE} -o ${file_asm} ${file_orig_bin} - ${AS} -o ${file_as_o} ${file_asm} + ${AS} -m68000 -o ${file_as_o} ${file_asm} ${LD} -o ${file_as_elf} ${file_as_o} ${OBJCOPY} ${file_as_elf} -O binary ${file_as_bin} if ! cmp ${file_orig_bin} ${file_as_bin} >/dev/null 2>&1; then @@ -157,6 +157,11 @@ run_test_iterative "seq Xn" "\x57" 0xc0 8 1 run_test_simple "dbt negative displacement" "\x50\xcf\xff\xfc" run_test_simple "dbt positive displacement" "\x50\xcf\x01\x08" +# 50c9 7ffe +# +# From random tests +run_test_simple "dbt %d1,.+32768" "\x50\xc9\x7f\xfe" + # 60xx # run_test_simple "bras negative displacement" "\x60\xfc" |