Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Typedefs | Variables
tic30.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _register
struct  ind_addr_type
struct  _template
struct  partemplate

Defines

#define REG_Rn   0x01
#define REG_ARn   0x02
#define REG_DP   0x03
#define REG_OTHER   0x04
#define PreDisp_Add   0x00
#define PreDisp_Sub   0x01
#define PreDisp_Add_Mod   0x02
#define PreDisp_Sub_Mod   0x03
#define PostDisp_Add_Mod   0x04
#define PostDisp_Sub_Mod   0x05
#define PostDisp_Add_Circ   0x06
#define PostDisp_Sub_Circ   0x07
#define PreIR0_Add   0x08
#define PreIR0_Sub   0x09
#define PreIR0_Add_Mod   0x0A
#define PreIR0_Sub_Mod   0x0B
#define PostIR0_Add_Mod   0x0C
#define PostIR0_Sub_Mod   0x0D
#define PostIR0_Add_Circ   0x0E
#define PostIR0_Sub_Circ   0x0F
#define PreIR1_Add   0x10
#define PreIR1_Sub   0x11
#define PreIR1_Add_Mod   0x12
#define PreIR1_Sub_Mod   0x13
#define PostIR1_Add_Mod   0x14
#define PostIR1_Sub_Mod   0x15
#define PostIR1_Add_Circ   0x16
#define PostIR1_Sub_Circ   0x17
#define IndirectOnly   0x18
#define PostIR0_Add_BitRev   0x19
#define IMPLIED_DISP   0x01
#define DISP_REQUIRED   0x02
#define NO_DISP   0x03
#define Rn   0x0001
#define ARn   0x0002
#define DPReg   0x0004
#define OtherReg   0x0008
#define Direct   0x0010
#define Indirect   0x0020
#define Imm16   0x0040
#define Disp   0x0080
#define Imm24   0x0100
#define Abs24   0x0200
#define op3T1   0x0400
#define op3T2   0x0800
#define IVector   0x1000
#define NotReq   0x2000
#define GAddr1   Rn | Direct | Indirect | Imm16
#define GAddr2   GAddr1 | AllReg
#define TAddr1   op3T1 | Rn | Indirect
#define TAddr2   op3T2 | Rn | Indirect
#define Reg   Rn | ARn
#define AllReg   Reg | DPReg | OtherReg
#define AddressMode   0x00600000
#define PCRel   0x02000000
#define StackOp   0x001F0000
#define Rotate   StackOp
#define Imm_None   0
#define Imm_Float   1
#define Imm_SInt   2
#define Imm_UInt   3
#define OO_4op1   0
#define OO_4op2   1
#define OO_4op3   2
#define OO_5op1   3
#define OO_5op2   4
#define OO_PField   5

Typedefs

typedef struct _register
typedef struct _template template

Variables

static const reg tic30_regtab []
static const reg *const tic30_regtab_end = tic30_regtab + sizeof(tic30_regtab)/sizeof(tic30_regtab[0])
static const ind_addr_type tic30_indaddr_tab []
static const ind_addr_type *const tic30_indaddrtab_end = tic30_indaddr_tab + sizeof(tic30_indaddr_tab)/sizeof(tic30_indaddr_tab[0])
static const template tic30_optab []
static const template *const tic30_optab_end
static const partemplate tic30_paroptab []
static const partemplate *const tic30_paroptab_end

Class Documentation

struct _register

Definition at line 329 of file bfin-defs.h.

Class Members
int flags
char * name
unsigned char opcode
reg_t regno
unsigned char regtype
struct ind_addr_type

Definition at line 137 of file tic30.h.

Class Members
unsigned char displacement
unsigned char modfield
char * syntax
struct _template

Definition at line 216 of file tic30.h.

Class Members
unsigned int base_opcode
int imm_arg_type
unsigned short mask
unsigned short mask2
int maxops
int minops
const char * name
char * name
unsigned short opcode
unsigned short opcode2
unsigned int opcode_modifier
unsigned int operand_types
unsigned int operands
const char * parname
unsigned int words
struct partemplate

Definition at line 610 of file tic30.h.

Class Members
unsigned int base_opcode
char * name
unsigned int operand_types
unsigned int operands_1
unsigned int operands_2
int oporder

Define Documentation

#define Abs24   0x0200

Definition at line 200 of file tic30.h.

#define AddressMode   0x00600000

Definition at line 227 of file tic30.h.

#define AllReg   Reg | DPReg | OtherReg

Definition at line 214 of file tic30.h.

#define ARn   0x0002

Definition at line 191 of file tic30.h.

#define Direct   0x0010

Definition at line 195 of file tic30.h.

#define Disp   0x0080

Definition at line 198 of file tic30.h.

#define DISP_REQUIRED   0x02

Definition at line 144 of file tic30.h.

#define DPReg   0x0004

Definition at line 192 of file tic30.h.

#define GAddr1   Rn | Direct | Indirect | Imm16

Definition at line 209 of file tic30.h.

#define GAddr2   GAddr1 | AllReg

Definition at line 210 of file tic30.h.

#define Imm16   0x0040

Definition at line 197 of file tic30.h.

#define Imm24   0x0100

Definition at line 199 of file tic30.h.

#define Imm_Float   1

Definition at line 240 of file tic30.h.

#define Imm_None   0

Definition at line 239 of file tic30.h.

#define Imm_SInt   2

Definition at line 241 of file tic30.h.

#define Imm_UInt   3

Definition at line 242 of file tic30.h.

#define IMPLIED_DISP   0x01

Definition at line 143 of file tic30.h.

#define Indirect   0x0020

Definition at line 196 of file tic30.h.

#define IndirectOnly   0x18

Definition at line 134 of file tic30.h.

#define IVector   0x1000

Definition at line 205 of file tic30.h.

#define NO_DISP   0x03

Definition at line 145 of file tic30.h.

#define NotReq   0x2000

Definition at line 207 of file tic30.h.

#define OO_4op1   0

Definition at line 621 of file tic30.h.

#define OO_4op2   1

Definition at line 622 of file tic30.h.

#define OO_4op3   2

Definition at line 623 of file tic30.h.

#define OO_5op1   3

Definition at line 624 of file tic30.h.

#define OO_5op2   4

Definition at line 625 of file tic30.h.

#define OO_PField   5

Definition at line 626 of file tic30.h.

#define op3T1   0x0400

Definition at line 202 of file tic30.h.

#define op3T2   0x0800

Definition at line 203 of file tic30.h.

#define OtherReg   0x0008

Definition at line 193 of file tic30.h.

#define PCRel   0x02000000

Definition at line 228 of file tic30.h.

#define PostDisp_Add_Circ   0x06

Definition at line 113 of file tic30.h.

#define PostDisp_Add_Mod   0x04

Definition at line 111 of file tic30.h.

#define PostDisp_Sub_Circ   0x07

Definition at line 114 of file tic30.h.

#define PostDisp_Sub_Mod   0x05

Definition at line 112 of file tic30.h.

#define PostIR0_Add_BitRev   0x19

Definition at line 135 of file tic30.h.

#define PostIR0_Add_Circ   0x0E

Definition at line 122 of file tic30.h.

#define PostIR0_Add_Mod   0x0C

Definition at line 120 of file tic30.h.

#define PostIR0_Sub_Circ   0x0F

Definition at line 123 of file tic30.h.

#define PostIR0_Sub_Mod   0x0D

Definition at line 121 of file tic30.h.

#define PostIR1_Add_Circ   0x16

Definition at line 131 of file tic30.h.

#define PostIR1_Add_Mod   0x14

Definition at line 129 of file tic30.h.

#define PostIR1_Sub_Circ   0x17

Definition at line 132 of file tic30.h.

#define PostIR1_Sub_Mod   0x15

Definition at line 130 of file tic30.h.

#define PreDisp_Add   0x00

Definition at line 107 of file tic30.h.

#define PreDisp_Add_Mod   0x02

Definition at line 109 of file tic30.h.

#define PreDisp_Sub   0x01

Definition at line 108 of file tic30.h.

#define PreDisp_Sub_Mod   0x03

Definition at line 110 of file tic30.h.

#define PreIR0_Add   0x08

Definition at line 116 of file tic30.h.

#define PreIR0_Add_Mod   0x0A

Definition at line 118 of file tic30.h.

#define PreIR0_Sub   0x09

Definition at line 117 of file tic30.h.

#define PreIR0_Sub_Mod   0x0B

Definition at line 119 of file tic30.h.

#define PreIR1_Add   0x10

Definition at line 125 of file tic30.h.

#define PreIR1_Add_Mod   0x12

Definition at line 127 of file tic30.h.

#define PreIR1_Sub   0x11

Definition at line 126 of file tic30.h.

#define PreIR1_Sub_Mod   0x13

Definition at line 128 of file tic30.h.

#define Reg   Rn | ARn

Definition at line 213 of file tic30.h.

#define REG_ARn   0x02

Definition at line 38 of file tic30.h.

#define REG_DP   0x03

Definition at line 39 of file tic30.h.

#define REG_OTHER   0x04

Definition at line 40 of file tic30.h.

#define REG_Rn   0x01

Definition at line 37 of file tic30.h.

#define Rn   0x0001

Definition at line 190 of file tic30.h.

#define Rotate   StackOp

Definition at line 230 of file tic30.h.

#define StackOp   0x001F0000

Definition at line 229 of file tic30.h.

#define TAddr1   op3T1 | Rn | Indirect

Definition at line 211 of file tic30.h.

#define TAddr2   op3T2 | Rn | Indirect

Definition at line 212 of file tic30.h.


Typedef Documentation

typedef struct _register

Definition at line 35 of file tic30.h.


Variable Documentation

Definition at line 147 of file tic30.h.

Definition at line 186 of file tic30.h.

Definition at line 246 of file tic30.h.

Initial value:
  tic30_optab + sizeof(tic30_optab)/sizeof(tic30_optab[0])

Definition at line 607 of file tic30.h.

Definition at line 628 of file tic30.h.

Initial value:

Definition at line 688 of file tic30.h.

const reg tic30_regtab[] [static]

Definition at line 42 of file tic30.h.

Definition at line 103 of file tic30.h.