What size are Gameboy opcodes?

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
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

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @salazarcosplay, gta v is down since november 2021