summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lh5801/5801dasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/lh5801/5801dasm.cpp')
-rw-r--r--src/devices/cpu/lh5801/5801dasm.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/cpu/lh5801/5801dasm.cpp b/src/devices/cpu/lh5801/5801dasm.cpp
index f289f4760a0..1e1390f9056 100644
--- a/src/devices/cpu/lh5801/5801dasm.cpp
+++ b/src/devices/cpu/lh5801/5801dasm.cpp
@@ -301,13 +301,13 @@ const lh5801_disassembler::Entry lh5801_disassembler::table[0x100]={
{ TIN, Imp },
{ VEJ, Vej },
{ CIN, Imp },
- { ILL },
+ { VEJ, Vej },
{ REC, Imp },
- { ILL },
+ { VEJ, Vej },
{ SEC, Imp },
- { ILL },
+ { VEJ, Vej },
{ PREFD },
- { ILL },
+ { VEJ, Vej },
{ ILL }
};
@@ -623,10 +623,10 @@ offs_t lh5801_disassembler::disassemble(std::ostream &stream, offs_t pc, const d
util::stream_format(stream, "%s %04x", entry->ins_name(),absolut);break;
case RelP:
temp=opcodes.r8(pos++);
- util::stream_format(stream, "%s %04x", entry->ins_name(),pc+pos+temp);break;
+ util::stream_format(stream, "%s %04x", entry->ins_name(),pos+temp);break;
case RelM:
temp=opcodes.r8(pos++);
- util::stream_format(stream, "%s %04x", entry->ins_name(),pc+pos-temp);break;
+ util::stream_format(stream, "%s %04x", entry->ins_name(),pos-temp);break;
case Abs:
absolut=opcodes.r8(pos++)<<8;
absolut|=opcodes.r8(pos++);