2007-01-01 00:30:58 +00:00
|
|
|
|
2007-01-13 10:27:17 +00:00
|
|
|
#include "../../misc.h"
|
2007-01-01 00:30:58 +00:00
|
|
|
|
2007-01-02 02:21:58 +00:00
|
|
|
CPU_INT PPCBrain( CPU_BYTE *cpu_buffer,
|
|
|
|
CPU_UNINT cpu_pos,
|
|
|
|
CPU_UNINT cpu_size,
|
|
|
|
CPU_UNINT BaseAddress,
|
|
|
|
CPU_UNINT cpuarch,
|
2007-01-13 12:23:25 +00:00
|
|
|
FILE *outfp,
|
|
|
|
CPU_INT mode);
|
2007-01-02 02:21:58 +00:00
|
|
|
|
2007-01-01 00:30:58 +00:00
|
|
|
|
|
|
|
/* here we put the prototype for the opcode api that brain need we show a example for it */
|
2007-01-13 12:23:25 +00:00
|
|
|
CPU_INT PPC_Addx(FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch, CPU_INT mode);
|
2007-01-01 00:30:58 +00:00
|
|
|
|
|
|
|
|
2007-01-13 17:27:14 +00:00
|
|
|
CPU_INT PPC_Ld( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos,
|
|
|
|
CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch,
|
|
|
|
CPU_INT mode);
|
|
|
|
|
2007-01-01 00:30:58 +00:00
|
|
|
/* Export comment thing see m68k for example
|
|
|
|
* in dummy we do not show it, for it is diffent for each cpu
|
|
|
|
*/
|
2007-01-13 17:27:14 +00:00
|
|
|
|
|
|
|
extern CPU_BYTE PPC_D[32];
|
|
|
|
extern CPU_BYTE PPC_A[32];
|
|
|
|
extern CPU_BYTE PPC_ds[32];
|