3 ms·
The table here: [1] is very accurate. I wasn't able to find any bug either in the cycle counts or the affected flags list during the Coffee GB [2] development.
by t0mek 8y ago
The table here: [1] is very accurate. I wasn't able to find any bug either in the cycle counts or the affected flags list during the Coffee GB [2] development.
[1] http://pastraiser.com/cpu/gameboy/gameboy_opcodes.html http://pastraiser.com/cpu/gameboy/gameboy_opcodes.html
[2] https://news.ycombinator.com/item?id=17134668 https://news.ycombinator.com/item?id=17134668
- the_spacebyte 8y agoPerfect, thank you. I've been using this image but only to cross-check the opcodes values and what they meant.
- abaines 8y agoThe 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.
- qcoh 8y agoI 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. [0]: http://www.devrs.com/gb/files/opcodes.html http://www.devrs.com/gb/files/opcodes.html