• Conditional Compile
    I am using version 6.0 with a GNU makefile. I have conditional code (both *.C and *.A51)I want to enable/disable through the make file on the command line. I am using the #ifdef DEBUG #endif // for...
  • Conditional compilation
    Hi, I am currently trying to get my code support two different type of LCD display, the only difference is the hardware level driver, so condional compilation directive has to be introduced. #ifdef...
  • WHAT IS WRONG
    I HAVE THIS CODE AND NEED TO SAY WHAT IS WRONG HELP ME PLZ LD R0,#>RAMSAVE LD R1,#<RAMSAVE LDE R2,@RR0 LD SV0_RAM,R2 INCW RR0 LDE R2,@RR0 LD SV1_RAM,R2 INCW RR0 LDE R2,@RR0 LD TX_RAM,R2 JP LL9...
  • C51: Start_XC.A51 compiled wrong in 9.55??
    Hi, I've tried to compile the same project originally developed with version 9.51 under the latest 9.55. The two .hex files are identical except for one byte. Looking at the .map and at the start_xc...
  • if condition
    Hello, I was compiling my firmware program written in C using Keil microVision2 V2.4 compiler. The target is c8051F120 microcontroller. I noticed that the compiler accepted the following: if...