• carry bit
    as i am doing in assembly language setb c clr c it work's fine but when i tried it in c c = sd; sd = c; the sd may be the high or low it gives error related to declaration of...
  • rewriting _crol_ as inline assembly
    This line: thresBits = _crol_(thresBits, 2); generates this SRC: MOV R7,thresBits?1282 MOV R0,#02H MOV A,R7 INC R0 SJMP ?C0198 ?C0197: RL A ?C0198: DJNZ R0,?C0197 MOV thresBits...
  • Carry-Bit vs. Documentation
    Note: This was originally posted on 27th June 2012 at http://forums.arm.com Hello, in every documentation I found something like "A carry occurs (..) , if the result of a subtraction is positive, (.....
  • does adc clock affect value converted
    hello every body, for the AT83C5115 ou AT89C51CC01 in X2 mode does the adc clock affect the values resulted in ADDH, ADDL. i'm getting half the value expected for a temperature measurement. thanks...
  • Carry flage
    How can get the carry flag when add a var in Keil C?