swissChili | 6c61a79 | 2020-07-28 16:29:20 -0700 | [diff] [blame] | 1 | BEGIN { |
2 | FS = "," | ||||
3 | print "#pragma once\n" | ||||
4 | print "// AUTO GENERATED FILE, DO NOT EDIT BY HAND" | ||||
5 | print "#define INSTRUCTIONS \\" | ||||
6 | } | ||||
7 | |||||
8 | /0x.+/ { | ||||
swissChili | 97b5d8b | 2020-08-15 20:00:54 -0700 | [diff] [blame] | 9 | print " INST(" $2 ", AM_" $3 ", " $1", " $4 ") \\" |
swissChili | 6c61a79 | 2020-07-28 16:29:20 -0700 | [diff] [blame] | 10 | } |