• 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...
  • Need help with Assembly IF statements.
    I'm learning assembly language and trying to do the following, pretty easy task for the Cortex M0 32bit microcontroller: So far I just wrote the beginning which is: MOVS R0, #1 ;a = 1 MOVS R1...
  • 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
  • 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...