• bitwise operation
    hello, i m implementing a pc keyboard logic. pc keboard signals are transmitted serially to port pin. i want to know how to do bitwise shifting in 'c' for reception as well as for transmission to...
  • bitwise operation
    hello, i m implementing a pc keyboard logic. pc keboard signals are transmitted serially to port pin. i want to know how to do bitwise shifting in 'c' for reception as well as for transmission to...
  • Logical bit operation
    Hello, I have following code: Unsigned int freq; int N_counter[24] freq=248; N_Counter[15]=(freq& 0x0001); N_Counter[14]=(freq & 0x0002); N_Counter[13]=(freq & 0x0004); N_Counter[12]=(freq...
  • Logical bit operation
    Hello, I have following code: Unsigned int freq; int N_counter[24] freq=248; N_Counter[15]=(freq& 0x0001); N_Counter[14]=(freq & 0x0002); N_Counter[13]=(freq & 0x0004); N_Counter[12]=(freq...
  • ARMCC: Bitwise Vs half word access
    I was under the impression that the compiler would generate same code for read and write operation on the members of the following structure: typedef struct S32data_t { uint32_t a:16; uint32_t b:16;...