Hello, I'm simulating a little piece of code with Target Philips P89C669:
#include "REG669.H" temp XDATA 10d ORG 0000h JMP INICIO INICIO: MOV AUXR,#00h ;use on-chip XRAM MOV A,#33h MOV R0,#temp ponotro33h: MOVX @R0,A DJNZ R0,ponotro33h JMP INICIO END
When the Debugger simulate MOVX @R0,A , in the Output Window i see "*** error 65: access violation at 0x00FF0A : no 'write' permission" this is due to the simulator use the PORT2 to access external XRAM, but this is not correct because whit MOV AUXR,#00h the uC should access on-chip XRAM.
If I choose 89C668 this code work fine and the simulator write in on-chip XDATA What is the problem?, Is this a bug in the 89C669 simulation? Can I solve this problem?
Many Thanks