1
/***************************************************************************
4
Disassembler for the portable Motorola/Freescale dsp56k emulator.
5
Written by Andrew Gardner
7
***************************************************************************/
14
/*****************************/
15
/* Main disassembly function */
16
/*****************************/
17
CPU_DISASSEMBLE( dsp56k )
19
const UINT16 w0 = oprom[0] | (oprom[1] << 8);
20
const UINT16 w1 = oprom[2] | (oprom[3] << 8);
22
// Decode and disassemble.
23
DSP56K::Opcode op(w0, w1);
24
sprintf(buffer, "%s", op.disassemble().cstr());
26
const unsigned size = op.size();
27
return (size | DASMFLAG_SUPPORTED);