Package envi :: Package archs :: Package i386 :: Module opconst
[hide private]
[frames] | no frames]

Module opconst

source code

Variables [hide private]
  INSTR_PREFIX = 0xF0000000L
  PREFIX_LOCK = 0x00100000
  PREFIX_REPNZ = 0x00200000
  PREFIX_REPZ = 0x00400000
  PREFIX_REP = 0x00800000
  PREFIX_REP_SIMD = 0x01000000
  PREFIX_OP_SIZE = 0x02000000
  PREFIX_ADDR_SIZE = 0x04000000
  PREFIX_SIMD = 0x08000000
  PREFIX_CS = 0x10000000
  PREFIX_SS = 0x20000000
  PREFIX_DS = 0x30000000
  PREFIX_ES = 0x40000000
  PREFIX_FS = 0x50000000
  PREFIX_GS = 0x60000000
  PREFIX_REG_MASK = 0xF0000000L
  ADDRMETH_A = 0x00010000
  ADDRMETH_C = 0x00020000
  ADDRMETH_D = 0x00030000
  ADDRMETH_E = 0x00040000
  ADDRMETH_F = 0x00050000
  ADDRMETH_G = 0x00060000
  ADDRMETH_H = 0x00070000
  ADDRMETH_I = 0x00080000
  ADDRMETH_J = 0x00090000
  ADDRMETH_M = 0x000A0000
  ADDRMETH_N = 0x000B0000
  ADDRMETH_O = 0x000C0000
  ADDRMETH_P = 0x000D0000
  ADDRMETH_Q = 0x000E0000
  ADDRMETH_R = 0x000F0000
  ADDRMETH_S = 0x00100000
  ADDRMETH_U = 0x00110000
  ADDRMETH_V = 0x00120000
  ADDRMETH_W = 0x00130000
  ADDRMETH_X = 0x00140000
  ADDRMETH_Y = 0x00150000
  OPTYPE_a = 0x01000000
  OPTYPE_b = 0x02000000
  OPTYPE_c = 0x03000000
  OPTYPE_d = 0x04000000
  OPTYPE_ds = 0x04000000
  OPTYPE_dq = 0x05000000
  OPTYPE_p = 0x06000000
  OPTYPE_pi = 0x07000000
  OPTYPE_ps = 0x08000000
  OPTYPE_pd = 0x08000000
  OPTYPE_q = 0x09000000
  OPTYPE_qp = 0x09000000
  OPTYPE_s = 0x0A000000
  OPTYPE_ss = 0x0B000000
  OPTYPE_si = 0x0C000000
  OPTYPE_sd = 0x0C000000
  OPTYPE_v = 0x0D000000
  OPTYPE_w = 0x0E000000
  OPTYPE_y = 0x0F000000
  OPTYPE_z = 0x10000000
  OPTYPE_fs = 0x11000000
  OPTYPE_fd = 0x12000000
  OPTYPE_fe = 0x13000000
  OPTYPE_fb = 0x14000000
  OPTYPE_fv = 0x15000000
  OPERSIZE = {0:(2, 4, 8), OPTYPE_a:(2, 4, 4), OPTYPE_b:(1, 1, 1...
  INS_EXEC = 0x1000
  INS_ARITH = 0x2000
  INS_LOGIC = 0x3000
  INS_STACK = 0x4000
  INS_COND = 0x5000
  INS_LOAD = 0x6000
  INS_ARRAY = 0x7000
  INS_BIT = 0x8000
  INS_FLAG = 0x9000
  INS_FPU = 0xA000
  INS_TRAPS = 0xD000
  INS_SYSTEM = 0xE000
  INS_OTHER = 0xF000
  INS_BRANCH = INS_EXEC | 0x01
  INS_BRANCHCC = INS_EXEC | 0x02
  INS_CALL = INS_EXEC | 0x03
  INS_CALLCC = INS_EXEC | 0x04
  INS_RET = INS_EXEC | 0x05
  INS_LOOP = INS_EXEC | 0x06
  INS_ADD = INS_ARITH | 0x01
  INS_SUB = INS_ARITH | 0x02
  INS_MUL = INS_ARITH | 0x03
  INS_DIV = INS_ARITH | 0x04
  INS_INC = INS_ARITH | 0x05
  INS_DEC = INS_ARITH | 0x06
  INS_SHL = INS_ARITH | 0x07
  INS_SHR = INS_ARITH | 0x08
  INS_ROL = INS_ARITH | 0x09
  INS_ROR = INS_ARITH | 0x0A
  INS_AND = INS_LOGIC | 0x01
  INS_OR = INS_LOGIC | 0x02
  INS_XOR = INS_LOGIC | 0x03
  INS_NOT = INS_LOGIC | 0x04
  INS_NEG = INS_LOGIC | 0x05
  INS_PUSH = INS_STACK | 0x01
  INS_POP = INS_STACK | 0x02
  INS_PUSHREGS = INS_STACK | 0x03
  INS_POPREGS = INS_STACK | 0x04
  INS_PUSHFLAGS = INS_STACK | 0x05
  INS_POPFLAGS = INS_STACK | 0x06
  INS_ENTER = INS_STACK | 0x07
  INS_LEAVE = INS_STACK | 0x08
  INS_TEST = INS_COND | 0x01
  INS_CMP = INS_COND | 0x02
  INS_MOV = INS_LOAD | 0x01
  INS_MOVCC = INS_LOAD | 0x02
  INS_XCHG = INS_LOAD | 0x03
  INS_XCHGCC = INS_LOAD | 0x04
  INS_LEA = INS_LOAD | 0x05
  INS_STRCMP = INS_ARRAY | 0x01
  INS_STRLOAD = INS_ARRAY | 0x02
  INS_STRMOV = INS_ARRAY | 0x03
  INS_STRSTOR = INS_ARRAY | 0x04
  INS_XLAT = INS_ARRAY | 0x05
  INS_BITTEST = INS_BIT | 0x01
  INS_BITSET = INS_BIT | 0x02
  INS_BITCLR = INS_BIT | 0x03
  INS_CLEARCF = INS_FLAG | 0x01
  INS_CLEARZF = INS_FLAG | 0x02
  INS_CLEAROF = INS_FLAG | 0x03
  INS_CLEARDF = INS_FLAG | 0x04
  INS_CLEARSF = INS_FLAG | 0x05
  INS_CLEARPF = INS_FLAG | 0x06
  INS_SETCF = INS_FLAG | 0x07
  INS_SETZF = INS_FLAG | 0x08
  INS_SETOF = INS_FLAG | 0x09
  INS_SETDF = INS_FLAG | 0x0A
  INS_SETSF = INS_FLAG | 0x0B
  INS_SETPF = INS_FLAG | 0x0C
  INS_TOGCF = INS_FLAG | 0x10
  INS_TOGZF = INS_FLAG | 0x20
  INS_TOGOF = INS_FLAG | 0x30
  INS_TOGDF = INS_FLAG | 0x40
  INS_TOGSF = INS_FLAG | 0x50
  INS_TOGPF = INS_FLAG | 0x60
  INS_TRAP = INS_TRAPS | 0x01
  INS_TRAPCC = INS_TRAPS | 0x02
  INS_TRET = INS_TRAPS | 0x03
  INS_BOUNDS = INS_TRAPS | 0x04
  INS_DEBUG = INS_TRAPS | 0x05
  INS_TRACE = INS_TRAPS | 0x06
  INS_INVALIDOP = INS_TRAPS | 0x07
  INS_OFLOW = INS_TRAPS | 0x08
  INS_HALT = INS_SYSTEM | 0x01
  INS_IN = INS_SYSTEM | 0x02
  INS_OUT = INS_SYSTEM | 0x03
  INS_CPUID = INS_SYSTEM | 0x04
  INS_NOP = INS_OTHER | 0x01
  INS_BCDCONV = INS_OTHER | 0x02
  INS_SZCONV = INS_OTHER | 0x03
  OP_R = 0x001
  OP_W = 0x002
  OP_X = 0x004
  OP_64AUTO = 0x008
  OP_UNK = 0x000
  OP_REG = 0x100
  OP_IMM = 0x200
  OP_REL = 0x300
  OP_ADDR = 0x400
  OP_EXPR = 0x500
  OP_PTR = 0x600
  OP_OFF = 0x700
  OP_SIGNED = 0x001000
  OP_STRING = 0x002000
  OP_CONST = 0x004000
  OP_EXTRASEG = 0x010000
  OP_CODESEG = 0x020000
  OP_STACKSEG = 0x030000
  OP_DATASEG = 0x040000
  OP_DATA1SEG = 0x050000
  OP_DATA2SEG = 0x060000
  ARG_NONE = 0
  cpu_8086 = 0x00001000
  cpu_80286 = 0x00002000
  cpu_80386 = 0x00003000
  cpu_80387 = 0x00004000
  cpu_80486 = 0x00005000
  cpu_PENTIUM = 0x00006000
  cpu_PENTPRO = 0x00007000
  cpu_PENTMMX = 0x00008000
  cpu_PENTIUM2 = 0x00009000
  cpu_AMD64 = 0x0000a000
  x86_MAIN = 0
  x86_0F = 1
  x86_80 = 2
  ADDRMETH_MASK = 0x00FF0000
  OPTYPE_MASK = 0xFF000000
  OPFLAGS_MASK = 0x0000FFFF
Variables Details [hide private]

OPERSIZE

Value:
{0:(2, 4, 8), OPTYPE_a:(2, 4, 4), OPTYPE_b:(1, 1, 1), OPTYPE_c:(1, 2, \
2), OPTYPE_d:(4, 4, 4), OPTYPE_dq:(16, 16, 16), OPTYPE_p:(4, 6, 6), OP\
TYPE_pi:(8, 8, 8), OPTYPE_ps:(16, 16, 16), OPTYPE_pd:(16, 16, 16), OPT\
YPE_q:(8, 8, 8), OPTYPE_s:(6, 10, 10), OPTYPE_ss:(0, 0, 0), OPTYPE_si:\
(4, 4, 4), OPTYPE_sd:(4, 4, 4), OPTYPE_v:(2, 4, 8), OPTYPE_w:(2, 2, 2)\
, OPTYPE_z:(2, 4, 4), OPTYPE_fs:(4, 4, 4), OPTYPE_fd:(8, 8, 8), OPTYPE\
_fe:(10, 10, 10), OPTYPE_fb:(10, 10, 10), OPTYPE_fv:(14, 14, 28),}