mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 09:07:54 +00:00
fa8f26e7c6
Adding stw for dissembler and converting (PPC and IA32) Fixing a counter bug in ConvertBitToByte, ConvertBitToByte32, GetMaskByte, GetMaskByte32 we did miss one bit calculation when we count the mask the bit 0 svn path=/trunk/; revision=25527
22 lines
1,010 B
C
22 lines
1,010 B
C
|
|
#include "../../misc.h"
|
|
|
|
CPU_INT PPCBrain( CPU_BYTE *cpu_buffer,
|
|
CPU_UNINT cpu_pos,
|
|
CPU_UNINT cpu_size,
|
|
CPU_UNINT BaseAddress,
|
|
CPU_UNINT cpuarch,
|
|
FILE *outfp);
|
|
|
|
|
|
/* here we put the prototype for the opcode api that brain need we show a example for it */
|
|
CPU_INT PPC_Blr( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
|
CPU_INT PPC_Li( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
|
CPU_INT PPC_Stw( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
|
CPU_INT PPC_Stwu( FILE *out, CPU_BYTE * cpu_buffer, CPU_UNINT cpu_pos, CPU_UNINT cpu_size, CPU_UNINT BaseAddress, CPU_UNINT cpuarch);
|
|
|
|
/* Export comment thing see m68k for example
|
|
* in dummy we do not show it, for it is diffent for each cpu
|
|
*/
|
|
|
|
|