Jump to content

Bytecode: Difference between revisions

22 bytes added ,  Yesterday at 06:26
no edit summary
No edit summary
 
Line 239: Line 239:
* For parameter numbers < 0xf: Parameter number is the bottom 4 bits of the opcode.
* For parameter numbers < 0xf: Parameter number is the bottom 4 bits of the opcode.
* For parameter numbers >= 0xf: Bottom 4 bits of opcode are set to 0xf, parameter number is 0xf + following byte.
* For parameter numbers >= 0xf: Bottom 4 bits of opcode are set to 0xf, parameter number is 0xf + following byte.
* Parameter 0 is possibly the return value?
* Parameter 0 is maybe the return value of the last control/call?
* Maximum number of parameters is unknown. The highest parameter Boktai 1 uses is <code>param 0x10</code>.
* Maximum number of parameters is unknown. The highest parameter Boktai 1 uses is <code>param 0x10</code>.