• stm32f3 comparator
    STM32F3 Comparator hello everyone I am a beginner in STM32F3 and I found a problem with the comparator. I have no compilation error but its not working. If anyone can help me I would be grateful ...
  • 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...
  • 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...
  • comparing signed and unsigned variables
    In the following code:- char a = 0x80; unsigned char b = 0x80; if(a==0x80) printf("a==0x80\n"); if(b==0x80) printf("b==0x80\n"); The first printf isn't executed but the second is. Why is this...
  • Compare a nibble to a number
    Hi, I would like to get some help on a simple program. I wanted to compare the most significant nibble from P2(so P2.4 to P2.7) with a number using CJNE, but I don't know how to select that number from...