mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-23 07:30:31 +00:00
There's one more field in that generated header. Adjust.
This commit is contained in:
parent
2430cfd722
commit
9da9f61f5a
@ -13,9 +13,9 @@ BEGIN {
|
|||||||
/^OP_/{
|
/^OP_/{
|
||||||
printf "#define %s 0x%X\n", $1, opcode
|
printf "#define %s 0x%X\n", $1, opcode
|
||||||
if (opcode < 255)
|
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
|
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++
|
opcode++
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user