21 strcpy(
str,
d->d_asm);
37 return (
op->size = 2);
46 .desc =
"XAP4 RISC (CSR)",
50 #ifndef RZ_PLUGIN_INCORE
RzAsmPlugin rz_asm_plugin_xap
static int arch_xap_disasm(char *str, const unsigned char *buf, ut64 seek)
RZ_API RzLibStruct rizin_plugin
static int disassemble(RzAsm *a, struct rz_asm_op_t *op, const ut8 *buf, int len)
RZ_API void Ht_() free(HtName_(Ht) *ht)
return memset(p, 0, total)
RZ_API char * rz_strbuf_get(RzStrBuf *sb)
#define RZ_SYS_ENDIAN_LITTLE
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
static void xap_decode(struct state *s, struct directive *d)
static struct directive * next_inst(struct state *s)
static struct state * get_state(void)
static uint16_t i2u16(struct instruction *in)