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.
My question is very simple: how I do to indicate the compiler that not to use that instruction?
As far as I know, you cannot do this with C51.
You can try to take an open-source compiler (SDCC) and modify it to suit your needs.
http://sdcc.sf.net