~swisschili/toolchain-6502

toolchain-6502/csv2h.awk -rwxr-xr-x 214 bytes
a091d887swissChili Readme change to reflect status of assembler 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BEGIN {
	FS = ","
	print "#pragma once\n"
	print "// AUTO GENERATED FILE, DO NOT EDIT BY HAND"
	print "#define INSTRUCTIONS \\"
}

/0x/ {
	print "	INST(" $2 ", AM_" $3 ", " $1", " $4 ") \\"
}

END {
    print ""
}