Skip to content

Commit

Permalink
Add missing + in add sp,%hhd
Browse files Browse the repository at this point in the history
  • Loading branch information
binji committed Feb 24, 2019
1 parent 0d98a6d commit 00b917c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emulator-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static const char* s_opcode_mnemonic[256] = {
NULL, "call nc,$%04hx", "push de", "sub a,%hhu", "rst $10", "ret c", "reti",
"jp c,$%04hx", NULL, "call c,$%04hx", NULL, "sbc a,%hhu", "rst $18",
"ldh [$ff%02hhx],a", "pop hl", "ld [$ff00+c],a", NULL, NULL, "push hl",
"and a,%hhu", "rst $20", "add sp,%hhd", "jp hl", "ld [$%04hx],a", NULL, NULL,
"and a,%hhu", "rst $20", "add sp,%+hhd", "jp hl", "ld [$%04hx],a", NULL, NULL,
NULL, "xor a,%hhu", "rst $28", "ldh a,[$ff%02hhx]", "pop af",
"ld a,[$ff00+c]", "di", NULL, "push af", "or a,%hhu", "rst $30",
"ld hl,sp%+hhd", "ld sp,hl", "ld a,[$%04hx]", "ei", NULL, NULL, "cp a,%hhu",
Expand Down

0 comments on commit 00b917c

Please sign in to comment.