diff --git a/runtests.sh b/runtests.sh index a616547..9c4e504 100755 --- a/runtests.sh +++ b/runtests.sh @@ -13,10 +13,15 @@ SRC=`ls ./testdata` for S in $SRC ; do rm -f $TMPFILE - ./qasm -o 0/$OUTDIR/$S ./testdata/$S >> $TMPFILE + + S1=$S + S1=${S1/.S/.bin} + S1=${S1/.s/.bin} + + ./qasm -o 0/$OUTDIR/$S1 ./testdata/$S >> $TMPFILE R=?$ - echo $S + echo $S " " $S1 cat $TMPFILE | grep "End qASM assembly" done diff --git a/testdata/allops-common-65816.S b/testdata/allops-common-65816.S index 1b895f8..c0cba86 100644 --- a/testdata/allops-common-65816.S +++ b/testdata/allops-common-65816.S @@ -2,6 +2,11 @@ ; See the LICENSE.txt file for distribution terms (Apache 2.0). ; ; Assembler: Merlin 32 +MV0 equ $FE0000 +MV1 equi $FF0000 + +ABS equ $A55A +ZP equ $FF ORG $1000 diff --git a/testdata/allops-common-65C02.S b/testdata/allops-common-65C02.S index 40f014e..c424dd2 100644 --- a/testdata/allops-common-65C02.S +++ b/testdata/allops-common-65C02.S @@ -2,7 +2,8 @@ ; See the LICENSE.txt file for distribution terms (Apache 2.0). ; ; Assembler: Merlin 32 - +ABS equ $A55A +ZP equ $FF ORG $1000 JSR PostBRK