projects
/
h316.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[h316.git]
/
bin
/
asm
diff --git
a/bin/asm
b/bin/asm
index 08adc2853091ef57785356cff80db2ca6154f71b..d686a53d59d10ca60e046d5dace361ee35084626 100755
(executable)
--- a/
bin/asm
+++ b/
bin/asm
@@
-6,6
+6,8
@@
if [ ! $1 ] ; then
exit 2
fi
exit 2
fi
+echo -e "\nAssembler: Translating \"$1\":"
+
for n in $*; do
if [ $n == "/v" ]; then
VERBOSE=yes
for n in $*; do
if [ $n == "/v" ]; then
VERBOSE=yes
@@
-42,18
+44,18
@@
else
h316 $name.go > /dev/null
fi
h316 $name.go > /dev/null
fi
-rm -f $name.par
-rm -f $name.go
if cat $name.lst | grep "NO ERRORS IN ABOVE ASSEMBLY">/dev/null 2>&1; then
if [ ! $2 ]; then
rm $name.lst
if cat $name.lst | grep "NO ERRORS IN ABOVE ASSEMBLY">/dev/null 2>&1; then
if [ ! $2 ]; then
rm $name.lst
+ rm -f $name.par
+ rm -f $name.go
fi
fi
- echo "
DAP-16 assembly successfull :-)
"
+ echo "
Assembler: Success.
"
exit 0
fi
cat $name.lst
exit 0
fi
cat $name.lst
-echo -e "
\nDAP-16 assembly FAILED!
"
+echo -e "
Assembler: Failed.
"
rm -f $name.obj
exit 77
rm -f $name.obj
exit 77