I have two subroutines with exactly same content but different names. I want them to be located in different addresses. I don't want the two subroutines to share same code, and I set the optimizer to "0". But still one of the subroutines is not working. How can I turn off the optimizer?
That'll be a library routine - see: http://www.keil.com/support/docs/1965.htm You might have to write your own compare routine for longs? Remember that the 8051 is only an 8-bit processor, so the instruction set has no built-in support for any operation involving anything larger than a single byte!
I got it. Thanks, Andrew.