The table in [1] has 0 in the carry flag for the SRA instructions, is that correct? I thought they shifted the lowest bit into the carry same as SRL.
I think you're right, see [0].
Furthermore E9 is not "JP (HL)" but rather "JP HL". If I remember correctly a few timings or instruction sizes are off as well.
Re:Writing a Game Boy emulator
by the_spacebyte on Wednesday July 11, 2018 @09:34AM
(#17506694)
Perfect, thank you. I've been using this image but only to cross-check the opcodes values and what they meant.
[1] http://pastraiser.com/cpu/gameboy/gameboy_opcodes.html
[2] https://news.ycombinator.com/item?id=17134668