• 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...
  • Why SMOD does not work
    When I configure uart communication of ADE7169 device(enhanced 8052 core),I encountered a problem that comment out or not the code (MOV PCON,#80H ;Here is not wor)(line 5) does not affect uart's baud...
  • Why not printf works always....
    Why not printf works always.... When I tried with Keil Monotor Driver51 it did not work but was working in simulation mode. But now again when I try to debug sample code in simulated mode it does...
  • 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...
  • bit ops: why does this work?
    from reading the docs, i cannot understand why this code __works__?: union _word { uint word; struct { uchar low; uchar hi; } bytes; }; static bdata uint bstate = 0; sbit sb_AC_IS_OK =...