Skip to content

Commit

Permalink
asrun takes assemby from stdin, runs it and show the exit status
Browse files Browse the repository at this point in the history
  • Loading branch information
DQNEO committed Aug 24, 2019
1 parent eb04fe4 commit 0b32ab2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions asrun
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

cat > a.s
echo '-------- a.s ----------------'
cat a.s
echo '-------- result -------------'
gcc a.s
./a.out
echo $?

0 comments on commit 0b32ab2

Please sign in to comment.