• static key word in user functions
    Can I use static key word in user function? FUNC char StateMachine(void) { static unsigned char _state; switch(_state) { case 0: ... } }
  • illegal word operand
    the code in asm -5 0000018A D4500200 MOV R5,[R0+#0x0002] -4 0000018E 0000 ADD R0,R0 -3 00000190 0000 ADD R0,R0 -2 00000192 8A370800 JB 0xFD6E.0,0x0001A6 -1 00000196 04000100 ADD DPP0:0x0001,DPP0...
  • what is mean of the key word "XBPSTACK" in the startup.a51 and how uses it!
    what is mean of the key word "XBPSTACK" in the startup.a51 and how uses it!
  • How does compiler C51 realize the key word reentrant?
    In the following example,the chip is Dallas390 and the off-chip xdata starts from x:0x20000.Large model and large reentrant function stack is selected. The C language source: unsigned char func1(unsigned...
  • byte Vs Half word Vs Word comparison
    Hi Experts, unsigned int var1_32; unsigned int var2_32; unsigned short int var1_16; unsigned short int var2_16; unsigned char var1_8; unsigned char var2_8; In the above declarations which is faster...