global: Small fixes to asm scripts ("==" problem)
[h316.git] / bin / asm_original
index f6becc4323a07e94179741f7eecf18902f47083a..d173211b478e1020cd9ac0d21049eae8c2221645 100755 (executable)
@@ -2,14 +2,14 @@
 # Assembler wrapper for simh h316
 
 if [ ! $1 ] ; then
-    echo "Argument missing!"
+    echo "Assembler (Original): Input file missing!"
     exit 2
 fi
 
-echo -e "\nAssembler: Translating \"$1\" (Original DAP-16 8K SLST):"
+echo -en "Assembler (Original): Translating \"$1\":"
 
 for n in $*; do
-  if [ $n == "/v" ]; then
+  if [ $n = "/v" ]; then
     VERBOSE=yes
   fi
 done
@@ -39,7 +39,7 @@ go
 quit 
 EOF
 
-if [ "$VERBOSE" == "yes" ]; then
+if [ "$VERBOSE" = "yes" ]; then
   h316 $name.go 
 else
   h316 $name.go > /dev/null
@@ -52,11 +52,11 @@ if cat $name.lst | grep "NO ERRORS IN ABOVE ASSEMBLY">/dev/null 2>&1; then
                rm -f $name.par
                rm -f $name.go
        fi
-       echo "Assembler: Success."
+       echo " Success."
        exit 0
 fi
 cat $name.lst
-echo -e "Assembler: Failed."
+echo -e " Failed."
 rm -f $name.obj
 exit 77