Definition at line 114 of file pic_pic18.c.
117 strcpy(opbuf,
"invalid");
123 const char *buf_asm =
"invalid";
124 strcpy(opbuf, buf_asm);
137 buf_asm =
ops[
i].name;
144 buf_asm =
sdb_fmt(
"%s 0x%x, %d, %d",
ops[
i].
name, instr & 0xff, (instr >> 9) & 1, (instr >> 8) & 1);
147 buf_asm =
sdb_fmt(
"%s 0x%x, %d",
ops[
i].
name, instr & 0xff, (instr >> 8) & 1);
150 buf_asm =
sdb_fmt(
"%s 0x%x, %d, %d",
ops[
i].
name, instr & 0xff, (instr >> 9) & 0x7, (instr >> 8) & 0x1);
164 if (dword_instr >> 28 != 0xf) {
168 (dword_instr & 0xff) | (dword_instr >> 8 & 0xfff00), (dword_instr >> 8) & 0x1);
178 if (dword_instr >> 28 != 0xf) {
182 ((dword_instr & 0xff) | ((dword_instr & 0xfff0000) >> 8)) * 2);
192 if (dword_instr >> 28 != 0xf) {
196 dword_instr & 0xfff, (dword_instr >> 16) & 0xfff);
211 if (dword_instr >> 28 != 0xf) {
214 ut8 reg_n = (dword_instr >> 4) & 0x3;
216 (dword_instr & 0xf) << 8 | ((dword_instr >> 16) & 0xff));
220 buf_asm =
"unknown args";
222 strcpy(opbuf, buf_asm);
RZ_API char * sdb_fmt(const char *fmt,...)
static ut16 rz_read_le16(const void *src)
static ut32 rz_read_le32(const void *src)
References AF_T, b, BAF_T, CALL_T, DAF_T, F32_T, fsr, GOTO_T, i, K_T, LFSR_T, N_T, NEX_T, NO_ARG, opmax, opmin, ops, rz_read_le16(), rz_read_le32(), S_T, sdb_fmt(), and SHK_T.
Referenced by asm_pic_disassemble().