commit | a4f49b5a14bf5e119a66633813deab5f594ee239 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun Aug 16 17:35:37 2020 -0700 |
committer | swissChili <swisschili@fastmail.com> | Sun Aug 16 17:35:37 2020 -0700 |
tree | c7ce0163b08026a36dfa3edc2a9967d1a1cf7f04 | |
parent | ca0d2e2f773470994ff7e1807a379e6289cb7713 [diff] [blame] |
Fixed bug in assembler parser
diff --git a/csv2h.awk b/csv2h.awk index dfebaec..368cc48 100755 --- a/csv2h.awk +++ b/csv2h.awk
@@ -5,6 +5,10 @@ print "#define INSTRUCTIONS \\" } -/0x.+/ { +/0x/ { print " INST(" $2 ", AM_" $3 ", " $1", " $4 ") \\" } + +END { + print "" +}