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-17 17:35:18 +00:00
|
|
|
FILE *outfp);
|
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-17 17:35:18 +00:00
|
|
|
CPU_INT PPC_Blr( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
2007-01-18 15:40:37 +00:00
|
|
|
CPU_INT PPC_Li( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
2007-01-20 13:33:42 +00:00
|
|
|
CPU_INT PPC_mr( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
2007-01-19 08:20:42 +00:00
|
|
|
CPU_INT PPC_Stw( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
2007-01-18 19:33:48 +00:00
|
|
|
CPU_INT PPC_Stwu( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
2007-01-13 17:27:14 +00:00
|
|
|
|
2007-10-19 23:05:02 +00:00
|
|
|
/* Export comment thing see m68k for example
|
2007-01-01 00:30:58 +00:00
|
|
|
* in dummy we do not show it, for it is diffent for each cpu
|
|
|
|
*/
|
2007-01-13 17:27:14 +00:00
|
|
|
|
2007-01-18 15:40:37 +00:00
|
|
|
|