Closed x87 closed 1 year ago
currently generator produces two parameters for each opcode with number of parameters -1. https://github.com/x87/scout/blob/master/opcodes/index.js#L53
instead in should parse the line and count all parameters, i.e.:
0xxx=-1,%d %d %d
should generate
{ "id": "0xxx", "name": "...", "params": [ { "type": "any" }, { "type": "any" }, { "type": "any" }, { "type": "arguments" } ] },
Switch to SBL definitions https://github.com/sannybuilder/library
currently generator produces two parameters for each opcode with number of parameters -1. https://github.com/x87/scout/blob/master/opcodes/index.js#L53
instead in should parse the line and count all parameters, i.e.:
should generate