• 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
  • 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
  • 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...
  • 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...
  • Return Statements inside Case Statements
    I encountered a wierd runtime error after compiling and running the following statement: FuncCall(unsigned char casenum) { switch (casenum) { case 0x00: return 0x0100; default: return 0x1000;...