mspdebug
mspdebug copied to clipboard
push SR reg goes wrong when PC>=0x10000
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.