• 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...
  • Why doesn't the NOAREGS works?
    #pragma NOAREGS char noaregfunc(char i) using 1 { return i+1; } void main(void) { char ch = noaregfunc(2); } Source code: C_STARTUP: C:0x0000 020011 LJMP C:0011 2: char noaregfunc (char i) using...
  • Why doesn't work
    void drawline2(char x1,char y1,char x2,char y2) { char i, deltax, deltay, numpixels; char d, dinc1, dinc2; char x, xinc1, xinc2; char y, yinc1, yinc2; deltax = abs(x2 - x1); deltay = abs...
  • Bitwise logical AND stores in a bit ....
    Hi, I get a curious result when compiling such a following code : typedef union { unsigned char cCtrlFullByte; struct { unsigned char bEnable : 1; unsigned char cUnused : 7; } cCtrlStruct;...
  • Why C's simulator doesn't work?
    Dear all: I'm write a simply program to test C for NXP. I only open timer 1 to use,Then i set a breakpoint in the interrupt, But the interrupt never be break,I don't why? Can anyone tell me why...