• Using $REGUSE
    I have a function with in-line assembly language. I preceed this function with: #pragma ASM $REGUSE _population_count( A, B, R4, R5, R6, R7, DPH, DPL ) #pragma ENDASM This tells the compiler...
  • ASM51 REGUSE bit assignments
    I've identified all but two bits in the word value that results from register use. The obvious ones are: R0-R7 DPH DPL PSW ACC B CY These are assigned to the lower 14 bits of the word (order...
  • The question about Overlay.
    When a function is invoked not only by a general function but also by a interrupt function ,how can I assign the instruction"Overlay"?
  • A question about UV3 debug.
    When c8051f02x 's I/O ports is configured to opendrain ,can see the outputting value in the peripherals I/O_ports when debugging?
  • Questions about XBanking
    Hi, I've read about XBanking and have some questions. Assume that I have 128MB of XRAM and I want to separate it to 4 pages, 0-0x7FFF,0x8000-0xFFFF,0x10000-0x17FFF and 0x18000-0x1FFFF. I use P1.6 and...