summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lc6500/lc6500_dasm.h
blob: db27fd2ad8ba846885406188c0abbaf98b5f4f7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// license: BSD-3-Clause
// copyright-holders: Dirk Best
/***************************************************************************

    Sanyo LC6500 series disassembler

***************************************************************************/

#ifndef MAME_CPU_LC6500_LC6500_DASM_H
#define MAME_CPU_LC6500_LC6500_DASM_H

#pragma once

class lc6500_disassembler : public util::disasm_interface
{
public:
	lc6500_disassembler() = default;
	virtual ~lc6500_disassembler() = default;

	virtual u32 opcode_alignment() const override;
	virtual offs_t disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer &params) override;

private:
	struct instruction;
	static const instruction s_instructions[];
};

#endif // MAME_CPU_LC6500_LC6500_DASM_H