gbdev / gb-opcodes

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

Inconsistent "immediate" value in JSON document #10

Open 64kramsystem opened 3 years ago

64kramsystem commented 3 years ago

(this is not the same as #9; that is about the semantic, while this is about consistency)

The value of the "immediate" field is inconsistent in at least one case.

The instruction LD B, d8 has both operands with values immediate = true. This is a mistake, as the first operand is not an immediate, regardless of the semantics of the immediate field.