You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
228 B
13 lines
228 B
2 years ago
|
#!/bin/bash
|
||
|
|
||
|
for bin_file in listing_0039_more_movs listing_0040_challenge_movs; do
|
||
|
./8086-decode $bin_file > test.asm
|
||
|
nasm test.asm
|
||
|
if ! diff -s test $bin_file; then
|
||
|
echo "Test $bin_file failed!"
|
||
|
exit 1
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
exit 0
|