mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-06-01 05:41:27 +00:00
BSD/OS X awk does not like hexadecimal constants.
This commit is contained in:
parent
9c88afae2a
commit
05f6599681
|
@ -12,7 +12,7 @@ BEGIN {
|
|||
|
||||
/^OP_/{
|
||||
printf "#define %s 0x%X\n", $1, opcode
|
||||
if (opcode < 0xFF)
|
||||
if (opcode < 255)
|
||||
printf "\t{ %s, %s, %s, %d, %s },\n", $1, $2, $3, $4, $5
|
||||
else
|
||||
printf "\t{ %s, %s, %s, %d, %s }\n", $1, $2, $3, $4, $5
|
||||
|
|
Loading…
Reference in New Issue
Block a user