Hai all,
Some times in my program I get infinite Loop..Even though I am not using infinite while loop.The program gets struck in the following loop..
IF IDATALEN <> 0 MOV R0,#IDATALEN - 1 CLR A IDATALOOP: MOV @R0,A DJNZ R0,IDATALOOP ENDIF
Is that compiler(keil micro vision2) problem?...Kindly clarify me.....
with thanks, G.karthik Ragunath
Several things need clarifying:
1. the code you've shown is assembly; so it must be assembled by an assembler - not compiled by a compiler;
2. uVision is an IDE - not a compiler (nor an assembler);
3. How have you defined IDATALEN?