• mapping SFR space
    How would I locate a structure to coincide with the beginning of SFR space for the 8051? address 0x80 of directly assessible data memory. We are using a core8051 (inside an FPGA), and the core8051...
  • cast?
    Does anybody know, how one have to cast an operation correctly? And is it necessary to tell the compiler that a constant is unsined long #define dword unsigned long unsigned char ucH; //hours unsigned...
  • cannot read SFR memory space (in asm)
    Hello i have this code to read int.ram and copy to ext.ram MOV R0,#00H MOV R1,#0FFH MOV DPTR,#7C00H reload: NOP MOV A,@R0 MOVX @DPTR,A INC R0 INC DPTR DJNZ R1,reload but the memory...
  • SFR'S
    How do I view the contents of sfr's in the UV2 debugger?
  • type casting?
    Hello, a question about how C166 handles type conversions: I have this: unsigned long c; unsigned char i, d if the following code is executed: c = 20403776; i = 0; d = 3; c += pow...