• Assembly IF statement simple question
    If I say, if a == 10 b = b * 4 + 2 if it does then do 'b = b * 4 + 2' or skip doing it? Would it be BNE or BEQ? Something tells me it's DON'T DO... Thanks
  • 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 statements
    Hi, Currently doing a project for college and have come to a road block. I have function which has a if statement. There are five different possible outcomes for the if statement. The outcome depends...
  • compile level else statement
    I'm not sure if this would work but I thought I'd bounce this off you guys anyway. So, I have an if/elseif/else statement and cut out the else part to cut down on code space. I thought about leaving...
  • simple 8051 compilation
    I am debugging and looking at code generated by the C compiler (for a Silabs 8051F312) and I am seeing it go to the middle of code in breaking from a case statement. Of course its infuriating ... so I...