Open zhaoleicpp opened 3 years ago
in function fetch_operand in sim.c *data_ret = dev->regs[reg] & mask; goes wrong when reg is MSP430_REG_SR and PC>=0x10000. The SR contains PC19:16. this can be ignored normally, but push.
in function fetch_operand in sim.c *data_ret = dev->regs[reg] & mask; goes wrong when reg is MSP430_REG_SR and PC>=0x10000. The SR contains PC19:16. this can be ignored normally, but push.