summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/gigatron/gigatrondasm.h
blob: 1c8c976b41a85d38e338c10492a353abd43828b6 (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
// license:BSD-3-Clause
// copyright-holders:AJR

#ifndef MAME_CPU_GIGATRON_GIGATRONDASM_H
#define MAME_CPU_GIGATRON_GIGATRONDASM_H

#pragma once

class gigatron_disassembler : public util::disasm_interface
{
public:
	// construction/destruction
	gigatron_disassembler();

protected:
	// disassembler overrides
	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:
	// tables
	static const char *const s_ops[7];
	static const char *const s_jumps[8];
};

#endif // MAME_CPU_GIGATRON_GIGATRONDASM_H