What size are Gameboy opcodes?

1-3 bytes, it depends (I'm including immediate data in that assertion, and it looks like that table does too, meaning that the opcode is always one byte*, but it can include up to two bytes of data after). The table shows you how many bytes are in an opcode (the number on the left in the 2nd row of each entry):

ISCuTDL.png


*CB opcodes (as in an opcode that uses the CB prefix) are always two bytes.
 
Last edited by daxtsu,

Site & Scene News

Popular threads in this forum