• shifting bits
    I'm trying to read the data from an ADC. I'm getting the error message error C193 '+=' bad operand type. If I use '=+' I don't get the error but my data is shifting. My result is a 0 or 1. It should be...
  • bit shifting
    hello there i have some problem regarding the bit shifting i want to convert the some no. from Hex. to Decimal for that i am going to used the shifting. when i recived the no. in hex format then i want...
  • Avoiding warning L16
    Hello, Is there a way to avoid the following warning: Warning L16: uncalled segment, ignored for overlay process ? I'm not talking about the Disable warning numbers you have in the options of a project...
  • Asm bit banding macro
    Good day. I try to create asm bit bannding macro. it's only macro and invocation code: MACRO ;macro definition sram_bit_band_set $p1,$p2 LDR R4,=0x22000000+p1*32+4*p2 MOV R5,#1 STR R5,[R4]...
  • Strange Shift Warning
    I am getting this warning: warning C200: '>>': out of range shift factor has been truncated with regards to this line of code: Mbuf[1] = HEX2ASCII( (pEvent->num & 0xF000) >> 12 ); This warning...