129 if (opcode >=
sizeof(
instrs) /
sizeof(
char *)) {
152 if (opcode >=
sizeof(
instrs) /
sizeof(
char *)) {
169 if (immed > 0x19 || (immed > 0x7 && immed < 0x18)) {
197 cond = (instr >> 9) & 0xF;
388 if ((
OPCODE(word1) >> 3) == 0x4) {
395 if ((ret > 0) && (
len < ret)) {
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags cmd
static ut16 rz_read_le16(const void *src)
#define cond(bop, top, mask, flags)
static int decode_bit_op(const ut16 instr, struct v810_cmd *cmd)
static int decode_extended(const ut16 word1, const ut16 word2, struct v810_cmd *cmd)
static const char * instrs[]
static const char * ext_instrs[]
static const char * bit_instrs[]
static int decode_3operands(const ut16 word1, const ut16 word2, struct v810_cmd *cmd)
static int decode_bcond(const ut16 instr, struct v810_cmd *cmd)
static const char * conds[]
static const char * sysreg_names[]
int v810_decode_command(const ut8 *instr, int len, struct v810_cmd *cmd)
static int decode_imm_reg(const ut16 instr, struct v810_cmd *cmd)
static int decode_jump(const ut16 word1, const ut16 word2, struct v810_cmd *cmd)
static int decode_load_store(const ut16 word1, const ut16 word2, struct v810_cmd *cmd)
static int decode_reg_reg(const ut16 instr, struct v810_cmd *cmd)
#define V810_INSTR_MAXLEN
#define DISP26(word1, word2)