blob: 2865958113ab1d9e7aae05f9b2a151e781ad2c12 (
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
|
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
// Yamaha DSPV
//
// Audio dsp dedicated to acoustic simulation
//
// Disassembler, placeholder
#include "emu.h"
#include "dspvd.h"
dspv_disassembler::dspv_disassembler()
{
}
u32 dspv_disassembler::opcode_alignment() const
{
return 1;
}
offs_t dspv_disassembler::disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer ¶ms)
{
u64 opc = opcodes.r64(pc);
u64 mode = (params.r64(pc) >> 32) & 7;
util::stream_format(stream, "%x%016x", mode, opc);
return 1 | SUPPORTED;
}
|