summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/scmp/scmpdasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/scmp/scmpdasm.h')
-rw-r--r--src/devices/cpu/scmp/scmpdasm.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/devices/cpu/scmp/scmpdasm.h b/src/devices/cpu/scmp/scmpdasm.h
index 915f74ee848..2e45224933e 100644
--- a/src/devices/cpu/scmp/scmpdasm.h
+++ b/src/devices/cpu/scmp/scmpdasm.h
@@ -1,12 +1,5 @@
// license:BSD-3-Clause
-// copyright-holders:Miodrag Milanovic
-/*****************************************************************************
- *
- * scmpdasm.c
- *
- * National Semiconductor SC/MP CPU Disassembly
- *
- *****************************************************************************/
+// copyright-holders:AJR
#ifndef MAME_CPU_SCMP_SCMPDASM_H
#define MAME_CPU_SCMP_SCMPDASM_H
@@ -16,11 +9,17 @@
class scmp_disassembler : public util::disasm_interface
{
public:
- scmp_disassembler() = default;
- virtual ~scmp_disassembler() = default;
+ scmp_disassembler();
+ // util::disasm_interface overrides
virtual u32 opcode_alignment() const override;
+ virtual u32 interface_flags() const override;
+ virtual u32 page_address_bits() const override;
virtual offs_t disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer &params) override;
+
+private:
+ // internal helpers
+ static void format_disp(std::ostream &stream, offs_t pc, u8 op, u8 disp);
};
-#endif
+#endif // MAME_CPU_SCMP_SCMPDASM_H