hello, In which version are the mul/div intructions protected? Thanks.
Take a look to: http://www.keil.com/appnotes/docs/apnt_141.asp The FIXMDU directive protects the MUL/DIV instruction with ATOMIC #1. This was required on some chip variants. There is also a special library that contains protection for arithmetic instructions.