• Code size compared to 8051
    I have run out of the 64K code space on my 8051 processor and need to port to something like the Cortex-M3 with 128K. BUT...with a 32 bit processor, in theory I'd need 256K of program memory just to...
  • problem comparing signed char
    hi i am trying to compare the value of two signed chars. one is a plain variable currentval while the other is a signed char inside an array of type signed char called spectrumarray.for some reason it...
  • Problems with compiling aa simple & statement
    I'm having problems with the following simple line of code and was wondering if I could get a little insight as to what the problem may be.. My code.. My variables SystemStatus is declared as...
  • compare voltage
    Hi, my program: EP: MOV A,ADC0H CJNZ A,#175D,EP i have problem jumping to the next subrountine when i detect 1.75V from power supply it will start to display if not it will display...
  • 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...