Rizin
unix-like reverse engineering framework and cli tools
mips16-opc.c File Reference
#include <stdio.h>
#include "sysdep.h"
#include "opcode/mips.h"

Go to the source code of this file.

Macros

#define UBD   INSN_UNCOND_BRANCH_DELAY
 
#define BR   MIPS16_INSN_BRANCH
 
#define WR_x   MIPS16_INSN_WRITE_X
 
#define WR_y   MIPS16_INSN_WRITE_Y
 
#define WR_z   MIPS16_INSN_WRITE_Z
 
#define WR_T   MIPS16_INSN_WRITE_T
 
#define WR_SP   MIPS16_INSN_WRITE_SP
 
#define WR_31   MIPS16_INSN_WRITE_31
 
#define WR_Y   MIPS16_INSN_WRITE_GPR_Y
 
#define RD_x   MIPS16_INSN_READ_X
 
#define RD_y   MIPS16_INSN_READ_Y
 
#define RD_Z   MIPS16_INSN_READ_Z
 
#define RD_T   MIPS16_INSN_READ_T
 
#define RD_SP   MIPS16_INSN_READ_SP
 
#define RD_31   MIPS16_INSN_READ_31
 
#define RD_PC   MIPS16_INSN_READ_PC
 
#define RD_X   MIPS16_INSN_READ_GPR_X
 
#define WR_HI   INSN_WRITE_HI
 
#define WR_LO   INSN_WRITE_LO
 
#define RD_HI   INSN_READ_HI
 
#define RD_LO   INSN_READ_LO
 
#define TRAP   INSN_TRAP
 
#define I1   INSN_ISA1
 
#define I3   INSN_ISA3
 
#define I32   INSN_ISA32
 
#define I64   INSN_ISA64
 
#define T3   INSN_3900
 

Variables

const struct mips_opcode mips16_opcodes []
 
const int bfd_mips16_num_opcodes
 

Macro Definition Documentation

◆ BR

#define BR   MIPS16_INSN_BRANCH

Definition at line 35 of file mips16-opc.c.

◆ I1

#define I1   INSN_ISA1

Definition at line 61 of file mips16-opc.c.

◆ I3

#define I3   INSN_ISA3

Definition at line 62 of file mips16-opc.c.

◆ I32

#define I32   INSN_ISA32

Definition at line 63 of file mips16-opc.c.

◆ I64

#define I64   INSN_ISA64

Definition at line 64 of file mips16-opc.c.

◆ RD_31

#define RD_31   MIPS16_INSN_READ_31

Definition at line 50 of file mips16-opc.c.

◆ RD_HI

#define RD_HI   INSN_READ_HI

Definition at line 56 of file mips16-opc.c.

◆ RD_LO

#define RD_LO   INSN_READ_LO

Definition at line 57 of file mips16-opc.c.

◆ RD_PC

#define RD_PC   MIPS16_INSN_READ_PC

Definition at line 51 of file mips16-opc.c.

◆ RD_SP

#define RD_SP   MIPS16_INSN_READ_SP

Definition at line 49 of file mips16-opc.c.

◆ RD_T

#define RD_T   MIPS16_INSN_READ_T

Definition at line 48 of file mips16-opc.c.

◆ RD_x

#define RD_x   MIPS16_INSN_READ_X

Definition at line 45 of file mips16-opc.c.

◆ RD_X

#define RD_X   MIPS16_INSN_READ_GPR_X

Definition at line 52 of file mips16-opc.c.

◆ RD_y

#define RD_y   MIPS16_INSN_READ_Y

Definition at line 46 of file mips16-opc.c.

◆ RD_Z

#define RD_Z   MIPS16_INSN_READ_Z

Definition at line 47 of file mips16-opc.c.

◆ T3

#define T3   INSN_3900

Definition at line 65 of file mips16-opc.c.

◆ TRAP

#define TRAP   INSN_TRAP

Definition at line 59 of file mips16-opc.c.

◆ UBD

#define UBD   INSN_UNCOND_BRANCH_DELAY

Definition at line 34 of file mips16-opc.c.

◆ WR_31

#define WR_31   MIPS16_INSN_WRITE_31

Definition at line 42 of file mips16-opc.c.

◆ WR_HI

#define WR_HI   INSN_WRITE_HI

Definition at line 54 of file mips16-opc.c.

◆ WR_LO

#define WR_LO   INSN_WRITE_LO

Definition at line 55 of file mips16-opc.c.

◆ WR_SP

#define WR_SP   MIPS16_INSN_WRITE_SP

Definition at line 41 of file mips16-opc.c.

◆ WR_T

#define WR_T   MIPS16_INSN_WRITE_T

Definition at line 40 of file mips16-opc.c.

◆ WR_x

#define WR_x   MIPS16_INSN_WRITE_X

Definition at line 37 of file mips16-opc.c.

◆ WR_y

#define WR_y   MIPS16_INSN_WRITE_Y

Definition at line 38 of file mips16-opc.c.

◆ WR_Y

#define WR_Y   MIPS16_INSN_WRITE_GPR_Y

Definition at line 43 of file mips16-opc.c.

◆ WR_z

#define WR_z   MIPS16_INSN_WRITE_Z

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

Variable Documentation

◆ bfd_mips16_num_opcodes

const int bfd_mips16_num_opcodes
Initial value:
=
((sizeof mips16_opcodes) / (sizeof (mips16_opcodes[0])))
const struct mips_opcode mips16_opcodes[]
Definition: mips16-opc.c:67

Definition at line 243 of file mips16-opc.c.

Referenced by print_insn_mips16().

◆ mips16_opcodes

const struct mips_opcode mips16_opcodes[]

Definition at line 1 of file mips16-opc.c.

Referenced by print_insn_mips16().