#include "alphadis.h"
#include "alphaopc.h"
#include "htdebug.h"
#include "tools.h"
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | BITS_OPC(opcode) ((opcode >> 26) & 0x3f) |
#define | BITS_FFUN(opcode) ((opcode >> 5) & 0x7ff) |
#define | BITS_IFUN(opcode) ((opcode >> 5) & 0x7f) |
#define | BITS_MFUN(opcode) (opcode & 0xffff) |
#define | BITS_JFUN(opcode) ((opcode >> 14) & 0x3) |
#define | BITS_ISLIT(opcode) ((opcode >> 12) & 0x1) |
#define | BITS_IMMED(opcode) ((opcode >> 13) & 0xff) |
#define | BITS_REGA(opcode) ((opcode >> 21) & 0x1f) |
#define | BITS_REGB(opcode) ((opcode >> 16) & 0x1f) |
#define | BITS_REGC(opcode) (opcode & 0x1f) |
#define | BITS_BDISP(opcode) (opcode & 0x1fffff) |
#define | BITS_BSIGN(opcode) (opcode & 0x100000) |
#define | BITS_MDISP(opcode) (opcode & 0xffff) |
#define | BITS_MSIGN(opcode) (opcode & 0x8000) |
#define | BITS_PAL(opcode) (opcode & 0x3ffffff) |
#define | BITS_HINT(opcode) (opcode & 0x3fff) |
#define | MAKE_OPC(opcode) ((opcode & 0x3f) << 26) |
#define | MAKE_FFUN(opcode) ((opcode & 0x7ff) << 5) |
#define | MAKE_IFUN(opcode) ((opcode & 0x7f) << 5) |
#define | MAKE_MFUN(opcode) (opcode & 0xffff) |
#define | MAKE_JFUN(opcode) ((opcode & 0x3) << 14) |
#define | MAKE_LIT (1<<12) |
#define | MAKE_IMMED(opcode) ((opcode & 0xff) << 13 ) |
#define | MAKE_REGA(opcode) ((opcode & 0x1f) << 21) |
#define | MAKE_REGB(opcode) ((opcode & 0x1f) << 16) |
#define | MAKE_REGC(opcode) (opcode & 0x1f) |
#define | MAKE_BDISP(opcode) (opcode & 0x1fffff) |
#define | MAKE_MDISP(opcode) (opcode & 0xffff) |
#define | MAKE_PAL(opcode) (opcode & 0x3ffffff) |
#define | MAKE_HINT(opcode) (opcode & 0x3fff) |
#define | A_REG_A alpha_reg_names[alpha_insn->regA] |
#define | A_REG_B alpha_reg_names[alpha_insn->regB] |
#define | A_REG_C alpha_reg_names[alpha_insn->regC] |
#define | A_NAME (alpha_insn->table+alpha_insn->code)->name |
Functions | |
int | find_alpha_instruction (alpha_opcode_tab_entry *table, int f) |
|
Definition at line 291 of file alphadis.cc. Referenced by Alphadis::strf(). |
|
Definition at line 288 of file alphadis.cc. Referenced by Alphadis::strf(). |
|
Definition at line 289 of file alphadis.cc. Referenced by Alphadis::strf(). |
|
Definition at line 290 of file alphadis.cc. Referenced by Alphadis::strf(). |
|
Definition at line 39 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 40 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 30 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 44 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 31 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 35 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 34 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 33 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 41 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 32 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 42 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 29 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 43 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 36 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 37 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 38 of file alphadis.cc. Referenced by Alphadis::decode(). |
|
Definition at line 57 of file alphadis.cc. |
|
Definition at line 48 of file alphadis.cc. |
|
Definition at line 60 of file alphadis.cc. |
|
Definition at line 49 of file alphadis.cc. |
|
Definition at line 53 of file alphadis.cc. |
|
Definition at line 51 of file alphadis.cc. |
|
Definition at line 52 of file alphadis.cc. |
|
Definition at line 58 of file alphadis.cc. |
|
Definition at line 50 of file alphadis.cc. |
|
Definition at line 47 of file alphadis.cc. |
|
Definition at line 59 of file alphadis.cc. |
|
Definition at line 54 of file alphadis.cc. |
|
Definition at line 55 of file alphadis.cc. |
|
Definition at line 56 of file alphadis.cc. |
|
Definition at line 76 of file alphadis.cc. Referenced by Alphadis::decode(). |