Skip to content

Commit c1097ad

Browse files
authored
cpu/upd177x/upd177xd.cpp: Fixed disassembly of jpp instruction. (#13087)
1 parent fa87a0a commit c1097ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/devices/cpu/upd177x/upd177xd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const upd177x_disassembler::instruction upd177x_disassembler::instructions[] {
108108
{ 0x1808, 0xfe0f, [](P) -> u32 { util::stream_format(stream, "callo (%s)", reg4(opcode)); return 1 | STEP_OVER; } },
109109

110110
{ 0x6000, 0xf000, [](P) -> u32 { util::stream_format(stream, "jmp %s", abs12(opcode, pc)); return 1; } },
111-
{ 0x2000, 0xff0f, [](P) -> u32 { util::stream_format(stream, "jmp %s", abs4_4(opcode, pc)); return 1; } },
111+
{ 0x2000, 0xff0f, [](P) -> u32 { util::stream_format(stream, "jpp %s", abs4_4(opcode, pc)); return 1; } },
112112
{ 0x0501, 0xffff, [](P) -> u32 { util::stream_format(stream, "jmpa"); return 1; } },
113113
{ 0x2400, 0xff00, [](P) -> u32 { util::stream_format(stream, "jmpfz %s", abs8(opcode, pc)); return 1; } },
114114

0 commit comments

Comments
 (0)