nmandrus1 / gaemboi

Gameboy Emulator
0 stars 0 forks source link

[Opcode Decoding] 8 bit INC #2

Open nmandrus1 opened 8 months ago

nmandrus1 commented 8 months ago

Based on this table Add support for decoding 8-bit INC instructions and tests to ensure decoding is working as expected. This should be fairly straightforward.

nmandrus1 commented 8 months ago

Right now 8 bit load is "implemented" but there is a bug where Operand::from_r_table(6) will return Register16::HL and instead of using the 16 bit value as an address it will just increment the value in the register.