• division remainder seems to be wrong
    Hi all, I need to recover the remainder of a division but no matter what I try the result comes out as 1. so far I have tried: u8 a = 10 u8 b = 3 u8 r; r = a % b; r = fmod(a,b) res ...
  • XDATA
    Is it possible to access particular bit in xdata memory space without changig other bits' values (eg using ^).
  • Copy xdata to xdata
    How to copy array xbyte memory from one address(xdata) to another(xdata address) and use autoincrement DPTR to make it faster in Cx51? I have selected "use multiply DPTR register" in projects for target...
  • XDATA BANKING WITH AN XDATA PORT # FOR CODE AN XDATA
    PK51 KIT 7.0 ATMEL AT89S8252 (classic 8052 with 8 flash) I'M USING A HARDWARE THAT HAVE 16*32k code and 4*32k xdata. Bank switch is performed with xdata port 0x1400 for code and with port 0x1800 for...
  • XDATA for SILabs internal xdata EMI0cn
    how do I specify in C that xdata access is to use EMI0CN instead of P2 for high byte of address xdata access