104 return (instr & 0x7) | (instr >> 23);
108 return instr & 0x1FF;
112 return ((instr >> 9) & 0x1FF) << 2;
116 return instr & 0x00400000;
145 return (instr >> 22) & 0xf;
149 return (instr >> 18) & 0xf;
156 cmd->prefix[15] =
'\0';
216 cmd->operands[0] =
'\0';
292 }
else if (opcode ==
PROP_SUBX &&
in & 0x08000000) {
338 cmd->opcode = opcode;
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
unsigned short prefix[65536]
static ut16 get_opcode_ext(ut32 instr)
static const char * instrs[]
static const char * ext_instrs[]
static ut8 get_zcri(ut32 instr)
static const char * conditions[]
static ut16 get_src(ut32 instr)
static int decode_jmp(struct propeller_cmd *cmd, ut32 instr)
static int decode_ext_cmd(struct propeller_cmd *cmd, ut32 instr)
static ut8 get_con(ut32 instr)
static ut16 get_opcode(ut32 instr)
int propeller_decode_command(const ut8 *instr, struct propeller_cmd *cmd)
static void decode_prefix(struct propeller_cmd *cmd, ut32 instr)
static int is_immediate(ut32 instr)
static ut16 get_dst(ut32 instr)
#define PROP_INSTR_MAXLEN
static ut32 rz_read_be32(const void *src)