Replies: 1 comment
-
Thanks, I think it makes sense to make a "local affiliate" of this table. Or send all the comments to the author to fix it. After all, it looks beautiful :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please note that there are a few mistakes in the instruction set table that you have linked in sm83.md. (https://www.pastraiser.com/cpu/gameboy/gameboy_opcodes.html) I also used this table a lot. I like it, because it is so colorful. But you have to be aware that it is not fully true. Otherwise it can make you run in circles unnecessarily if the things you measure in reality do not fit. (Been there, done that. 😞 )
Also, some instructions have a different mnemonic than in the 1996 Sharp Databook.
STOP
is actually only 1 byte, not 2. It should be always followed by a NOP instruction though, because of some bug.LD (C), A
andLD A, (C)
instructions at the bottom of column x2 actually are only 1 byte, not 2.SRA
instructions are settingC
to 0. They are actually setting it to the LSB that falls out at the right side, just like described in the Sharp Manual. So they have the same flag behavior than the other shift/rotate instructions (Z 0 0 C
).BIT n, (HL)
instructions actually require only 12 cycles, not 16.Beta Was this translation helpful? Give feedback.
All reactions