summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/avr8/avr8dasm.h
blob: a7f55fdb86bde42896de264a8e0e8dcb37ccbb7b (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
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
/*
    Atmel 8-bit AVR disassembler

    Written by Ryan Holtz
*/

#ifndef MAME_CPU_AVR8_AVR8DASM_H
#define MAME_CPU_AVR8_AVR8DASM_H

#pragma once

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