-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Description
I think I spotted a bug. :) Please take a look at A value and flags after add a,a at 0x01f7:
A:80 F:---- BC:0000 DE:c205 HL:0260 SP:fffc PC:01ec (cy: 548) ppu:+3 |[00]0x01ec: 18 09 jr +9
A:80 F:---- BC:0000 DE:c205 HL:0260 SP:fffc PC:01f7 (cy: 560) ppu:+3 |[00]0x01f7: 87 add a,a
A:00 F:---C BC:0000 DE:c205 HL:0260 SP:fffc PC:01f8 (cy: 564) ppu:+3 |[00]0x01f8: 38 08 jr c,+8
A:00 F:---C BC:0000 DE:c205 HL:0260 SP:fffc PC:0202 (cy: 576) ppu:+3 |[00]0x0202: 28 ea jr z,-22
A:00 F:---C BC:0000 DE:c205 HL:0260 SP:fffc PC:0204 (cy: 584) ppu:+3 |[00]0x0204: 01 02 00 ld bc,2
Carry is set but Zero is missing so instead making conditional jump at 0x0202 it goes straight to 0x0204 which is wrong. I checked it in BGB before opening an issue and it sets Z--C so the result is as expected. Above output is from binjgb-tester.exe win64. This is really handy util BTW!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels