hello while using MUL(Thumb)instruction in the keil i am getting the error: A1477W: This register combination results in UNPREDICTABLE behaviour,the code written is given below
area th,code entry THUMB mov r0,#0x12 mov r1,#0x02 mul r1,r0 loop b loop end
So can anybody give me the reason and solution how to recover from this error...
Yes, that is what I was hinting at when I said,
"Note that there is a restriction stated there on which registers may be used in the Thumb instruction..."