dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
184 stars 80 forks source link

Not documented hardware multiplier #109

Open zhaoleicpp opened 3 years ago

zhaoleicpp commented 3 years ago

I compiled using Code Composer Studio 6.0.1 and disasm with IAR 5.50.2, got: 01ABAC 4C82 04D0 mov.w R12,&MPY32L 01ABB0 4D82 04D2 mov.w R13,&MPY32H 01ABB4 4E82 04E0 mov.w R14,&OP2L 01ABB8 4F82 04E2 mov.w R15,&OP2H 01ABBC 421C 04E4 mov.w &RES0,R12 01ABC0 421D 04E6 mov.w &RES1,R13 It is a new hardware multiplier not simio_hwmult.c. It may be 32bit*32bit=64bit.