107 if (opcode >=
sizeof(
instrs) /
sizeof(
char *)) {
126 if (opcode >=
sizeof(
instrs) /
sizeof(
char *)) {
138 if (immed >= -9 && immed <= 9) {
144 "0x%x, r%u", immed,
get_reg2(instr));
147 "-0x%x, r%u", immed * -1,
get_reg2(instr));
156 ut16 disp = ((instr >> 4) & 0x7) | (instr >> 11);
161 ut64 delta = ((((instr >> 4) & 0x7) | ((instr >> 11) << 3)) << 1);
247 (word1 >> 11) & 0x7, word2, reg1);
287 cmd->operands[0] =
'\0';
const lzma_allocator const uint8_t * in
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_at_le16(const void *src, size_t offset)
static ut16 rz_read_le16(const void *src)
static const char * instrs[]
static const char * bit_instrs[]
static int decode_bit_op(const ut8 *instr, int len, struct v850_cmd *cmd)
static int decode_bcond(const ut16 instr, int len, struct v850_cmd *cmd)
static int decode_reg_reg(const ut16 instr, struct v850_cmd *cmd)
static const char * conds[]
static const char * ext_instrs1[]
static const char * ext_instrs2[]
int v850_decode_command(const ut8 *instr, int len, struct v850_cmd *cmd)
static int decode_extended(const ut8 *instr, int len, struct v850_cmd *cmd)
static int decode_load_store(const ut8 *instr, int len, struct v850_cmd *cmd)
static int decode_imm_reg(const ut16 instr, struct v850_cmd *cmd)
static int decode_jarl(const ut8 *instr, int len, struct v850_cmd *cmd)
static int decode_3operands(const ut8 *instr, int len, struct v850_cmd *cmd)
static ut8 get_reg2(const ut16 instr)
#define V850_INSTR_MAXLEN
static ut8 get_reg1(const ut16 instr)
static ut8 get_subopcode(const ut16 instr)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()