Rizin
unix-like reverse engineering framework and cli tools
gb_op_table.h File Reference

Go to the source code of this file.

Classes

struct  gb_opcode
 

Macros

#define GB_8BIT   1
 
#define GB_16BIT   2
 
#define ARG_8   4
 
#define ARG_16   8
 
#define GB_IO   16
 

Variables

static const char * cb_ops []
 
static const char * cb_regs [] = { "b", "c", "d", "e", "h", "l", "[hl]", "a" }
 
static gb_opcode gb_op []
 

Macro Definition Documentation

◆ ARG_16

#define ARG_16   8

Definition at line 7 of file gb_op_table.h.

◆ ARG_8

#define ARG_8   4

Definition at line 6 of file gb_op_table.h.

◆ GB_16BIT

#define GB_16BIT   2

Definition at line 5 of file gb_op_table.h.

◆ GB_8BIT

#define GB_8BIT   1

Definition at line 4 of file gb_op_table.h.

◆ GB_IO

#define GB_IO   16

Definition at line 8 of file gb_op_table.h.

Variable Documentation

◆ cb_ops

const char* cb_ops[]
static
Initial value:
= { "rlc", "rrc", "rl", "rr", "sla", "sra", "swap", "srl",
"bit 0,", "bit 1,", "bit 2,", "bit 3,", "bit 4,", "bit 5,", "bit 6,", "bit 7,",
"res 0,", "res 1,", "res 2,", "res 3,", "res 4,", "res 5,", "res 6,", "res 7,",
"set 0,", "set 1,", "set 2,", "set 3,", "set 4,", "set 5,", "set 6,", "set 7," }

Definition at line 15 of file gb_op_table.h.

Referenced by gb_anop().

◆ cb_regs

const char* cb_regs[] = { "b", "c", "d", "e", "h", "l", "[hl]", "a" }
static

Definition at line 20 of file gb_op_table.h.

Referenced by gb_anop().

◆ gb_op

gb_opcode gb_op[]
static

Definition at line 22 of file gb_op_table.h.

Referenced by gb_anop().