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

Go to the source code of this file.

Macros

#define NIOS2_NUM_REGS    ((sizeof nios2_builtin_regs) / (sizeof (nios2_builtin_regs[0])))
 
#define NIOS2_NUM_OPCODES    ((sizeof nios2_builtin_opcodes) / (sizeof (nios2_builtin_opcodes[0])))
 

Variables

const struct nios2_reg nios2_builtin_regs []
 
const int nios2_num_builtin_regs = NIOS2_NUM_REGS
 
struct nios2_regnios2_regs = (struct nios2_reg *) nios2_builtin_regs
 
int nios2_num_regs = NIOS2_NUM_REGS
 
const struct nios2_opcode nios2_builtin_opcodes []
 
const int bfd_nios2_num_builtin_opcodes = NIOS2_NUM_OPCODES
 
struct nios2_opcodenios2_opcodes
 
int bfd_nios2_num_opcodes = NIOS2_NUM_OPCODES
 

Macro Definition Documentation

◆ NIOS2_NUM_OPCODES

#define NIOS2_NUM_OPCODES    ((sizeof nios2_builtin_opcodes) / (sizeof (nios2_builtin_opcodes[0])))

Definition at line 406 of file nios2-opc.c.

◆ NIOS2_NUM_REGS

#define NIOS2_NUM_REGS    ((sizeof nios2_builtin_regs) / (sizeof (nios2_builtin_regs[0])))

Definition at line 163 of file nios2-opc.c.

Variable Documentation

◆ bfd_nios2_num_builtin_opcodes

const int bfd_nios2_num_builtin_opcodes = NIOS2_NUM_OPCODES

Definition at line 408 of file nios2-opc.c.

◆ bfd_nios2_num_opcodes

int bfd_nios2_num_opcodes = NIOS2_NUM_OPCODES

Definition at line 414 of file nios2-opc.c.

◆ nios2_builtin_opcodes

const struct nios2_opcode nios2_builtin_opcodes[]

Definition at line 170 of file nios2-opc.c.

◆ nios2_builtin_regs

const struct nios2_reg nios2_builtin_regs[]

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

◆ nios2_num_builtin_regs

const int nios2_num_builtin_regs = NIOS2_NUM_REGS

Definition at line 165 of file nios2-opc.c.

◆ nios2_num_regs

int nios2_num_regs = NIOS2_NUM_REGS

Definition at line 170 of file nios2-opc.c.

Referenced by nios2_control_regs(), and nios2_coprocessor_regs().

◆ nios2_opcodes

struct nios2_opcode* nios2_opcodes
Initial value:
=
const struct nios2_opcode nios2_builtin_opcodes[]
Definition: nios2-opc.c:175

Definition at line 412 of file nios2-opc.c.

Referenced by nios2_init_opcode_hash().

◆ nios2_regs

struct nios2_reg* nios2_regs = (struct nios2_reg *) nios2_builtin_regs

Definition at line 169 of file nios2-opc.c.

Referenced by nios2_control_regs(), nios2_coprocessor_regs(), and nios2_print_insn_arg().