• Simulating dual DPTR & movx for AT89S8252
    Hi! I'm simulating my program (ASM) in uVision v7.02a. When reading a byte from AT89S8252's internal EEPROM the movx instruction always uses the 1st DPTR, though the DPS is set to the 2nd DPTR. On...
  • Simulating dual DPTR & movx for AT89S8252
    Hi! I'm simulating my program (ASM) in uVision v7.02a. When reading a byte from AT89S8252's internal EEPROM the movx instruction always uses the 1st DPTR, though the DPS is set to the 2nd DPTR. On...
  • Why does compiler produce different code for 46: Disp=DispData8; C:0x02DD 908082 MOV DPTR,#Disp(0x8082) C:0x02E0 7438 MOV A,#0x38 C:0x02E2 F0 MOVX @DPTR,A 47: wait(22); C:0x02E3 7F16
    Compiler produces different code for same line
  • Why does compiler produce different code for 46: Disp=DispData8; C:0x02DD 908082 MOV DPTR,#Disp(0x8082) C:0x02E0 7438 MOV A,#0x38 C:0x02E2 F0 MOVX @DPTR,A 47: wait(22); C:0x02E3 7F16
    Compiler produces different code for same line
  • MOVX
    Hello, I want to check if there is an equivalent instruction of the MOVX at the C language. I tried doing in-line assembly with no luck. Any assistance is appreciated