• IF statement
    hi i want to use IF statement in assembly, like this if (p3.0 true) { } else { } or like this BEGIN: IF R0 = #45 { } ELSE { } ENDIF jmp begin so how can i use it, for...
  • IF statement in assembly
    I'm wondering, Does assembler support if staments? (like a C program) Tried something very simple: org 0h sjmp BEGIN org 50h BEGIN: IF R0 == #45 MOV A, #54 CPL A ELSE MOV A, #45 CPL A ENDIF...
  • C252 and #if statements
    I have a header file that will be compiled by multiple different compilers. This being the case, I want to use #if statements to change the compilation flow based on the current compiler. In the Keil...
  • using if statement
    Hi all... i need some small help and also an idea on how to write the code for the following condition. i want something like: i want to give a delay of 5 seconds and just want to check if the any...
  • switch statement
    I need to use the switch statement with up to 255 cases? I keep getting the out of range error