Skip to content

Instantly share code, notes, and snippets.

@pluto0x0
Created October 16, 2022 08:33
Show Gist options
  • Save pluto0x0/a9a8fd6f96ab15e0b184533a3b6b76f1 to your computer and use it in GitHub Desktop.
Save pluto0x0/a9a8fd6f96ab15e0b184533a3b6b76f1 to your computer and use it in GitHub Desktop.
clear
for ff in *.asm
do
lc3as $ff > /dev/nul
done
for i in 1 2 3 4 5
do
echo "-=================== TEST $i =====================-"
lc3sim -s script$i > my$i
diff my$i out$i
echo
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment