macsim/src/memory.c
// General disassembler, if no other available
// Just prints 32 bit words
General disassembler, if no other available
Just prints 32 bit words
General disassembler if no other available Just prints 32 bit words
int no_disasm(node_t *node, addr_t pc, char *dstr)
{
    uint32_t iw;
    memory_read(node, node->pc, (uint8_t *)&iw, 4);
    snprintf(dstr, 32, ".word\t0x%08x", iw);
    return 4;
}
int no_disasm ( node_t * node , addr_t pc , char * dstr ) { uint32_t iw ; memory_read ( node , node -> pc , ( uint8_t * ) & iw , 4 ) ; snprintf ( dstr , 32 , " \t " , iw ) ; return 4 ; }
General disassembler, if no other available
Just prints 32 bit words
General disassembler if no other available Just prints 32 bit words