mspdebug icon indicating copy to clipboard operation
mspdebug copied to clipboard

push SR reg goes wrong when PC>=0x10000

Open zhaoleicpp opened this issue 4 years ago • 0 comments

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.

zhaoleicpp avatar Aug 14 '21 08:08 zhaoleicpp