summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mcs96/i8x9xd.h
blob: 6abf4f6e0fbe669ba1efa4f24533d74062f44527 (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
29
30
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
/***************************************************************************

    i8x9x.h

    MCS96, 8x9x branch, the original version

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

#ifndef MAME_CPU_MCS96_I8X9XD_H
#define MAME_CPU_MCS96_I8X9XD_H

#include "mcs96d.h"

class i8x9x_disassembler : public mcs96_disassembler
{
public:
	i8x9x_disassembler();
	virtual ~i8x9x_disassembler() = default;

protected:
	virtual std::string regname8(uint8_t reg, bool is_dest) const override;
	virtual std::string regname16(uint8_t reg, bool is_dest) const override;

private:
	static const disasm_entry disasm_entries[0x100];
};

#endif