summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms57002/57002dsm.h
blob: 40721378e684dbca099318a0796d99f4c1949d49 (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
/***************************************************************************

    57002dsm.h

    TMS57002 "DASP" emulator.

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

#ifndef MAME_CPU_TMS57002_57002DSM_H
#define MAME_CPU_TMS57002_57002DSM_H

#pragma once

class tms57002_disassembler : public util::disasm_interface
{
public:
	tms57002_disassembler();
	virtual ~tms57002_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:
	static std::string get_memadr(u32 opcode, char type);

};

#endif