This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Not use a specified intruction

Hi all.
I'm using a modified 8051 cpu, and it don't have some instructions (in this case MUL). In Keil IDE, when I do some like: foo = bar << 1;
Compiler translate as: MUL AB
And it produce a reset of the software.
My question is very simple: how I do to indicate the compiler that not to use that instruction?
Thanks.

Parents Reply Children