Dear All, I have written a c program like:
char Read(unsigned char ucdevice,unsigned char ucaddress) { int iNo_data = 0; // some code here }
C:0x8285 E4 CLR A C:0x8286 900137 MOV DPTR,#0x0137 C:0x8289 F0 MOVX @DPTR,A C:0x828A A3 INC DPTR C:0x828B F0 MOVX @DPTR,A
C:0x8285 E4 CLR A C:0x8286 900137 MOV DPTR,#0x0137 C:0x8287 0137 AJMP C:8037 C:0x8289 F0 MOVX @DPTR,A C:0x828A A3 INC DPTR C:0x828B F0 MOVX @DPTR,A
...I would guess that the single-stepping messes up the interpretation algorithm somehow.... No, the complete execution also behaves in the same manner.