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...
Have you looked up the MUL instruction in the Assembler Manual
http://www.keil.com/support/man/docs/armasm/armasm_cihihggj.htm
Note that there is a restriction stated there on which registers may be used in the Thumb instruction...
Have you looked at the ARM Architecture Reference materials? infocenter.arm.com/.../index.jsp