gbdev / gb-opcodes

https://gbdev.io/gb-opcodes/optables/
Creative Commons Zero v1.0 Universal
24 stars 10 forks source link

Seemingly incorrect `immediate` field name, in JSON document #9

Open 64kramsystem opened 4 years ago

64kramsystem commented 4 years ago

The JSON document has two immediate fields, one for any given opcode, and the other for the operands.

It seems though, that this field is incorrect. I've had a discussion on Discord with another experienced dev, and he suggested to change the name and value of the field (see discussion).

For example, the unprefixed 0x08 (INC C) is marked as immediate both at the opcode level and at the operand level.