mirror of
https://github.com/marketideas/qasm.git
synced 2024-06-02 08:41:27 +00:00
20 lines
377 B
Bash
Executable File
20 lines
377 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FNAME=2007-labels-and-symbols
|
|
if [ "$1""L" != "L" ] ; then
|
|
FNAME=$1
|
|
fi
|
|
|
|
cp testdata/$FNAME.S /tmp
|
|
|
|
cd /tmp
|
|
OUTNAME=/tmp/compare.txt
|
|
merlin32 -V ${FNAME}.S
|
|
cat ${FNAME}_Output.txt >OUTNAME
|
|
cat ${FNAME}_Output.txt
|
|
|
|
qasm ${FNAME}.S -t merlin32 -i M65816 -o 0/${FNAME}.S.bin
|
|
qasm ${FNAME}.S -t qasm -i M65816 -o 0/${FNAME}.S_q.bin
|
|
|
|
vbindiff ${FNAME} ${FNAME}.S.bin
|