Added more regression test to the pic port. Added support for <<, >>, ^
[fw/sdcc] / src / regression / create_stc
1 # Create gpsim script file
2
3
4 USAGE="Usage: `basename $0` COD_FILE GPSIM_SCRIPT"
5
6 if [ $# -lt 2 ] ; then
7   echo "$USAGE"
8   exit 1
9 fi
10
11
12 echo "load s $1" > $2
13 echo "break e _done" >> $2
14 echo "run" >> $2
15 echo "x _success" >> $2
16 echo "abort_gpsim_now" >> $2