summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/ccpu/ccpudasm.h
blob: b9c4b83c6e65d6a5c549ced93f0cbc1d613e2191 (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:Aaron Giles
/***************************************************************************

    ccpudasm.c
    Core implementation for the portable Cinematronics CPU disassembler.

    Written by Aaron Giles
    Special thanks to Zonn Moore for his detailed documentation.

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

#ifndef MAME_CPU_CCPU_CCPUDASM_H
#define MAME_CPU_CCPU_CCPUDASM_H

#pragma once

class ccpu_disassembler : public util::disasm_interface
{
public:
	ccpu_disassembler() = default;
	virtual ~ccpu_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;
};

#endif