Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_types.h>
Go to the source code of this file.
Classes | |
struct | _8051_op_t |
Macros | |
#define | T(op) RZ_ANALYSIS_OP_TYPE_##op |
Enumerations | |
enum | op8051 { OP_INVALID = 0 , OP_ADD , OP_ADDC , OP_ANL , OP_CALL , OP_CJNE , OP_CLR , OP_CPL , OP_DA , OP_DEC , OP_DIV , OP_DJNZ , OP_INC , OP_JB , OP_JBC , OP_JC , OP_JMP , OP_JNB , OP_JNC , OP_JNZ , OP_JZ , OP_MOV , OP_MUL , OP_NOP , OP_ORL , OP_POP , OP_PUSH , OP_RET , OP_RL , OP_RLC , OP_RR , OP_RRC , OP_SETB , OP_SUBB , OP_SWAP , OP_XCH , OP_XRL } |
enum | argtype8051 { A_NONE = 0 , A_RI , A_RN , A_ADDR11 , A_ADDR16 , A_DIRECT , A_BIT , A_IMMEDIATE , A_IMM16 , A_OFFSET } |
enum | argmask8051 { M_NONE = 0 , M_RI = 0x01 , M_RN = 0x07 , M_ADDR11 = 0xe0 } |
Functions | |
static ut64 | apply_bank (ut64 ref, ut16 addr) |
Construct an address with the higher bits from ref (determining the bank) and the lower from addr (offset in the bank) More... | |
static ut64 | arg_offset (ut64 bank, ut16 pc, ut8 offset) |
static ut64 | arg_addr11 (ut64 bank, ut16 pc, const ut8 *buf) |
static ut8 | arg_bit (ut8 bit_addr) |
Variables | |
static _8051_op_t | _8051_ops [] |
enum argmask8051 |
enum argtype8051 |
Enumerator | |
---|---|
A_NONE | |
A_RI | |
A_RN | |
A_ADDR11 | |
A_ADDR16 | |
A_DIRECT | |
A_BIT | |
A_IMMEDIATE | |
A_IMM16 | |
A_OFFSET |
Definition at line 80 of file 8051_ops.h.
enum op8051 |
Definition at line 40 of file 8051_ops.h.
Construct an address with the higher bits from ref (determining the bank) and the lower from addr (offset in the bank)
Definition at line 14 of file 8051_ops.h.
Referenced by arg_addr11(), arg_offset(), i8051_op(), and rz_8051_disas().
Definition at line 26 of file 8051_ops.h.
References apply_bank(), and pc.
Referenced by i8051_op(), and rz_8051_disas().
Definition at line 31 of file 8051_ops.h.
Referenced by _replace_register(), i8051_op(), and rz_8051_disas().
Definition at line 18 of file 8051_ops.h.
References apply_bank(), and pc.
Referenced by i8051_op(), and rz_8051_disas().
|
static |
Definition at line 113 of file 8051_ops.h.
Referenced by i8051_op(), and rz_8051_disas().