• switch statement
    I need to use the switch statement with up to 255 cases? I keep getting the out of range error
  • Switch Case Statement problem
    I am using switch statement as follows uint16 val; switch (val) { case 0x0000: ... break case 0x0001: ... break case 0x0000: ... break case 0x0000: ... break case 0x0000: ... break...
  • switch case statement bouncing
    switch(periodplay) { default : NVIC_ST_RELOAD_R = 0;Sound_Off(); break; case 0x01: NVIC_ST_RELOAD_R = beatC0 ; break; case 0x02: NVIC_ST_RELOAD_R = beatD; break; case 0x04 : NVIC_ST_RELOAD_R =...
  • Inexecutable statements inside switch case
    I have a segment of codes as follows. 'app' is a structure variable. The code can successfully pass the compiling process and run but contains some inexecutable important commands, which can't be...
  • 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...