Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ppcopc.h File Reference

#include "global.h"

Go to the source code of this file.

Classes

struct  powerpc_opcode
struct  powerpc_operand

Defines

#define PPC_OPCODE_PPC   (01)
#define PPC_OPCODE_POWER   (02)
#define PPC_OPCODE_POWER2   (04)
#define PPC_OPCODE_32   (010)
#define PPC_OPCODE_64   (020)
#define PPC_OPCODE_601   (040)
#define PPC_OP(i)   (((i) >> 26) & 0x3f)
#define PPC_OPERAND_SIGNED   (01)
#define PPC_OPERAND_SIGNOPT   (02)
#define PPC_OPERAND_FAKE   (04)
#define PPC_OPERAND_PARENS   (010)
#define PPC_OPERAND_CR   (020)
#define PPC_OPERAND_GPR   (040)
#define PPC_OPERAND_FPR   (0100)
#define PPC_OPERAND_RELATIVE   (0200)
#define PPC_OPERAND_ABSOLUTE   (0400)
#define PPC_OPERAND_OPTIONAL   (01000)
#define PPC_OPERAND_NEXT   (02000)
#define PPC_OPERAND_NEGATIVE   (04000)

Variables

const struct powerpc_opcode powerpc_opcodes []
const int powerpc_num_opcodes
const struct powerpc_operand powerpc_operands []


Define Documentation

#define PPC_OP  )     (((i) >> 26) & 0x3f)
 

Definition at line 84 of file ppcopc.h.

Referenced by PPCDisassembler::decode().

#define PPC_OPCODE_32   (010)
 

Definition at line 73 of file ppcopc.h.

#define PPC_OPCODE_601   (040)
 

Definition at line 81 of file ppcopc.h.

#define PPC_OPCODE_64   (020)
 

Definition at line 76 of file ppcopc.h.

#define PPC_OPCODE_POWER   (02)
 

Definition at line 67 of file ppcopc.h.

#define PPC_OPCODE_POWER2   (04)
 

Definition at line 70 of file ppcopc.h.

#define PPC_OPCODE_PPC   (01)
 

Definition at line 64 of file ppcopc.h.

Referenced by PPCDisassembler::decode(), and PPCDisassembler::strf().

#define PPC_OPERAND_ABSOLUTE   (0400)
 

Definition at line 173 of file ppcopc.h.

Referenced by PPCDisassembler::decode(), and PPCDisassembler::strf().

#define PPC_OPERAND_CR   (020)
 

Definition at line 157 of file ppcopc.h.

Referenced by PPCDisassembler::decode(), and PPCDisassembler::strf().

#define PPC_OPERAND_FAKE   (04)
 

Definition at line 141 of file ppcopc.h.

Referenced by PPCDisassembler::decode().

#define PPC_OPERAND_FPR   (0100)
 

Definition at line 165 of file ppcopc.h.

Referenced by PPCDisassembler::decode(), and PPCDisassembler::strf().

#define PPC_OPERAND_GPR   (040)
 

Definition at line 161 of file ppcopc.h.

Referenced by PPCDisassembler::decode(), and PPCDisassembler::strf().

#define PPC_OPERAND_NEGATIVE   (04000)
 

Definition at line 196 of file ppcopc.h.

#define PPC_OPERAND_NEXT   (02000)
 

Definition at line 189 of file ppcopc.h.

Referenced by PPCDisassembler::decode().

#define PPC_OPERAND_OPTIONAL   (01000)
 

Definition at line 181 of file ppcopc.h.

Referenced by PPCDisassembler::decode().

#define PPC_OPERAND_PARENS   (010)
 

Definition at line 148 of file ppcopc.h.

Referenced by PPCDisassembler::decode(), and PPCDisassembler::strf().

#define PPC_OPERAND_RELATIVE   (0200)
 

Definition at line 169 of file ppcopc.h.

Referenced by PPCDisassembler::decode(), and PPCDisassembler::strf().

#define PPC_OPERAND_SIGNED   (01)
 

Definition at line 127 of file ppcopc.h.

Referenced by PPCDisassembler::decode().

#define PPC_OPERAND_SIGNOPT   (02)
 

Definition at line 133 of file ppcopc.h.


Variable Documentation

const int powerpc_num_opcodes
 

Definition at line 59 of file ppcopc.h.

Referenced by PPCDisassembler::decode().

const struct powerpc_opcode powerpc_opcodes[]
 

Definition at line 58 of file ppcopc.h.

Referenced by PPCDisassembler::decode().

const struct powerpc_operand powerpc_operands[]
 

Definition at line 122 of file ppcopc.h.

Referenced by PPCDisassembler::decode().


Generated on Fri May 7 21:15:51 2004 by doxygen 1.3.5