• shifting bits in multiple bytes array
    Hello All, I have non-standart function that shifting bits in multi bytes. Syntax: shift_left (address, bytes, value); Parameters: address is a pointer to memory. bytes is a count of the...
  • shifting arrays
    hi, i'm using uVision3.33 , uC-80c31x2. my question is: I'v initilize buffer array which is been loaded with 24 Byte each interval time. now i want to shift the all array right/left by 1 bit....
  • 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...
  • ARM: is bit shift result correct?
    A variable shifted right seems to result in an incorrect value. uint64_t i = 13,825,587,238; i = i >> 7u; The situation is observed when 13,825,587,238 is right shifted 7. The correct value...