Back to index

cell-binutils  2.17cvs20070401
Defines | Variables
tic54x-opc.c File Reference
#include "sysdep.h"
#include "dis-asm.h"
#include "opcode/tic54x.h"

Go to the source code of this file.

Defines

#define CC1   0x40
#define CCB   0x08
#define CCEQ   0x05
#define CCNEQ   0x04
#define CCLT   0x03
#define CCLEQ   0x07
#define CCGT   0x06
#define CCGEQ   0x02
#define CCOV   0x70
#define CCNOV   0x60
#define CCBIO   0x03
#define CCNBIO   0x02
#define CCTC   0x30
#define CCNTC   0x20
#define CCC   0x0C
#define CCNC   0x08
#define ZPAR   0,{OP_None}
#define REST   0,0,ZPAR
#define XREST   ZPAR

Variables

const symbol regs []
const symbol mmregs []
const symbol condition_codes []
const symbol cc2_codes []
const symbol cc3_codes []
const symbol status_bits []
const char * misc_symbols []
const template tic54x_unknown_opcode
const template tic54x_optab []
const template tic54x_paroptab []

Define Documentation

#define CC1   0x40
#define CCB   0x08
#define CCBIO   0x03
#define CCC   0x0C
#define CCEQ   0x05
#define CCGEQ   0x02
#define CCGT   0x06
#define CCLEQ   0x07
#define CCLT   0x03
#define CCNBIO   0x02
#define CCNC   0x08
#define CCNEQ   0x04
#define CCNOV   0x60
#define CCNTC   0x20
#define CCOV   0x70
#define CCTC   0x30
#define REST   0,0,ZPAR

Definition at line 230 of file tic54x-opc.c.

#define XREST   ZPAR

Definition at line 231 of file tic54x-opc.c.

#define ZPAR   0,{OP_None}

Definition at line 229 of file tic54x-opc.c.


Variable Documentation

Initial value:
 {
  { "UNC", 0 },  { "unc", 0 },
  { "AEQ", 5 },  { "aeq", 5 },
  { "ANEQ", 4 }, { "aneq", 4 },
  { "AGT", 6 },  { "agt", 6 },
  { "ALT", 3 },  { "alt", 3 },
  { "ALEQ", 7 }, { "aleq", 7 },
  { "AGEQ", 2 }, { "ageq", 2 },
  { "BEQ", 13 }, { "beq", 13 },
  { "BNEQ", 12 },{ "bneq", 12 },
  { "BGT", 14 }, { "bgt", 14 },
  { "BLT", 11 }, { "blt", 11 },
  { "BLEQ", 15 },{ "bleq", 15 },
  { "BGEQ", 10 },{ "bgeq", 10 },
  { NULL, 0 },
}

Definition at line 156 of file tic54x-opc.c.

Initial value:
 {
  { "EQ", 0x0000 },  { "eq", 0x0000 },
  { "LT", 0x0100 },  { "lt", 0x0100 },
  { "GT", 0x0200 },  { "gt", 0x0200 },
  { "NEQ", 0x0300 }, { "neq", 0x0300 },
  { "0", 0x0000 },
  { "1", 0x0100 },
  { "2", 0x0200 },
  { "3", 0x0300 },
  { "00", 0x0000 },
  { "01", 0x0100 },
  { "10", 0x0200 },
  { "11", 0x0300 },
  { NULL, 0 },
}

Definition at line 173 of file tic54x-opc.c.

Definition at line 112 of file tic54x-opc.c.

Initial value:
 {
  "ARP", "arp",
  "DP",  "dp",
  "ASM", "asm",
  "TS",  "ts",
  NULL
}

Definition at line 210 of file tic54x-opc.c.

Definition at line 39 of file tic54x-opc.c.

Initial value:
 {
  { "AR0", 16 },                  { "ar0", 16 },
  { "AR1", 17 },                  { "ar1", 17 },
  { "AR2", 18 },                  { "ar2", 18 },
  { "AR3", 19 },                  { "ar3", 19 },
  { "AR4", 20 },                  { "ar4", 20 },
  { "AR5", 21 },                  { "ar5", 21 },
  { "AR6", 22 },                  { "ar6", 22 },
  { "AR7", 23 },                  { "ar7", 23 },
  { NULL, 0}
}

Definition at line 25 of file tic54x-opc.c.

Initial value:
 {
  
  { "TC",  12 },                { "tc",  12 },
  { "C",   11 },                { "c",   11 },
  { "OVA", 10 },                { "ova", 10 },
  { "OVB",  9 },                { "ovb",  9 },
  
  { "BRAF",15 },                { "braf",15 },
  { "CPL", 14 },                { "cpl", 14 },
  { "XF",  13 },                { "xf",  13 },
  { "HM",  12 },                { "hm",  12 },
  { "INTM",11 },                { "intm",11 },
  { "OVM",  9 },                { "ovm",  9 },
  { "SXM",  8 },                { "sxm",  8 },
  { "C16",  7 },                { "c16",  7 },
  { "FRCT", 6 },                { "frct", 6 },
  { "CMPT", 5 },                { "cmpt", 5 },
  { NULL, 0 },
}

Definition at line 190 of file tic54x-opc.c.

Definition at line 234 of file tic54x-opc.c.

Initial value:
 {
  { "ld",1,1,2,0xA800, 0xFE00, {OP_Xmem,OP_DST},      FL_PAR,0,0,
    "mac",                     {OP_Ymem,OPT|OP_RND},},
  { "ld",1,1,2,0xAA00, 0xFE00, {OP_Xmem,OP_DST},      FL_PAR,0,0,
    "macr",                    {OP_Ymem,OPT|OP_RND},},
  { "ld",1,1,2,0xAC00, 0xFE00, {OP_Xmem,OP_DST},      FL_PAR,0,0,
    "mas",                     {OP_Ymem,OPT|OP_RND},},
  { "ld",1,1,2,0xAE00, 0xFE00, {OP_Xmem,OP_DST},      FL_PAR,0,0,
    "masr",                    {OP_Ymem,OPT|OP_RND},},
  { "st",1,2,2,0xC000, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "add",                     {OP_Xmem,OP_DST}, },
  { "st",1,2,2,0xC800, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "ld",                      {OP_Xmem,OP_DST}, },
  { "st",1,2,2,0xE400, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "ld",                      {OP_Xmem,OP_T}, },
  { "st",1,2,2,0xD000, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "mac",                     {OP_Xmem,OP_DST}, },
  { "st",1,2,2,0xD400, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "macr",                    {OP_Xmem,OP_DST}, },
  { "st",1,2,2,0xD800, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "mas",                     {OP_Xmem,OP_DST}, },
  { "st",1,2,2,0xDC00, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "masr",                    {OP_Xmem,OP_DST}, },
  { "st",1,2,2,0xCC00, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "mpy",                     {OP_Xmem,OP_DST}, },
  { "st",1,2,2,0xC400, 0xFC00, {OP_SRC,OP_Ymem},      FL_PAR,0,0,
    "sub",                     {OP_Xmem,OP_DST}, },
  { NULL, 0, 0, 0, 0, 0, {0,0,0,0}, 0, REST },
}

Definition at line 466 of file tic54x-opc.c.

Initial value:
  { "???",   1,0,0,0x0000, 0x0000, {0}, 0, REST}

Definition at line 232 of file tic54x-opc.c.