macsim/src/arch/riscv.c
// Disassemble an address and return the lengh of the instruction
Disassemble an address and return the lengh of the instruction
Disassemble an address and return the lengh of the instruction
int riscv_disasm(node_t *node, addr_t pc, char *dstr)
{
    uint32_t iw;
    memory_fetch_32le(node, pc, &iw);
    return riscv_disasm_iw(dstr, pc, iw);
}
int riscv_disasm ( node_t * node , addr_t pc , char * dstr ) { uint32_t iw ; memory_fetch_32le ( node , pc , & iw ) ; return riscv_disasm_iw ( dstr , pc , iw ) ; }
Disassemble an address and return the lengh of the instruction
Disassemble an address and return the lengh of the instruction