summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2020-03-29 11:09:46 +0200
committer Olivier Galibert <galibert@pobox.com>2020-03-29 11:09:57 +0200
commit4b1e203213bea5a75b07dad662c391e41a086e7b (patch)
treec4d9333cca0659f45faca929a260acf473969c0e
parentd60eb8b7162e94ba418110d007f08d924888ac27 (diff)
pic16d: minor fix (nw)
-rw-r--r--src/devices/cpu/pic16/pic16d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/pic16/pic16d.cpp b/src/devices/cpu/pic16/pic16d.cpp
index 65f28f863cd..d824e1d96cd 100644
--- a/src/devices/cpu/pic16/pic16d.cpp
+++ b/src/devices/cpu/pic16/pic16d.cpp
@@ -71,7 +71,7 @@ const pic16_disassembler::instruction pic16_disassembler::instructions[] {
{ 0x3580, 0x3f80, [](P) -> u32 { util::stream_format(stream, "lslf %s", d->freg(opcode)); return 1; } },
{ 0x3600, 0x3f80, [](P) -> u32 { util::stream_format(stream, "lsrf %s, w", d->freg(opcode)); return 1; } },
{ 0x3680, 0x3f80, [](P) -> u32 { util::stream_format(stream, "lsrf %s", d->freg(opcode)); return 1; } },
- { 0x0180, 0x3f80, [](P) -> u32 { util::stream_format(stream, "clrf %s, w", d->freg(opcode)); return 1; } },
+ { 0x0180, 0x3f80, [](P) -> u32 { util::stream_format(stream, "clrf %s", d->freg(opcode)); return 1; } },
{ 0x0100, 0x3ffc, [](P) -> u32 { util::stream_format(stream, "clrw" ); return 1; } },
{ 0x0900, 0x3f80, [](P) -> u32 { util::stream_format(stream, "comf %s, w", d->freg(opcode)); return 1; } },
{ 0x0980, 0x3f80, [](P) -> u32 { util::stream_format(stream, "comf %s", d->freg(opcode)); return 1; } },