• 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...
  • 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 if statement
    i want use if satement, to do something for the one time, example: main(){ char k; k=0; while(1){ if(k==0){ printfLCD("please only one time\n"); k=1; }//end if printfLCD("test message...
  • assembler conditional
    00DE 18 IXLENGTH equ 222; 19 20 21 $IF ((LOW IXLENGTH) = 0 ) 0000 7E00 22 mov r6,#HIGH IXLENGTH 23 $ELSE mov r6,#((HIGH IXLENGTH) +1) $ENDIF 26 27 0100 28 XLENGTH equ 256; 29 30 31...
  • Conditional Breakpoint:
    I am a programmer at (C8051f980 (slabs I would like to try Conditional Breakpoint I did not know where to write the command line, for example BS COUNT ==4