1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-22 15:31:12 +00:00

There's one more field in that generated header. Adjust.

This commit is contained in:
Radosław Kujawa 2017-01-27 22:27:30 +01:00
parent 2430cfd722
commit 9da9f61f5a

View File

@ -13,9 +13,9 @@ BEGIN {
/^OP_/{
printf "#define %s 0x%X\n", $1, opcode
if (opcode < 255)
printf "\t{ %s, %s, %s, %d, %s },\n", $1, $2, $3, $4, $5
printf "\t{ %s, %s, %s, %d, %s, %s },\n", $1, $2, $3, $4, $5, $6
else
printf "\t{ %s, %s, %s, %d, %s }\n", $1, $2, $3, $4, $5
printf "\t{ %s, %s, %s, %d, %s, %s }\n", $1, $2, $3, $4, $5, $6
opcode++
}