Read: 938 times
|#80001 - RE: startup code|
Responding to: Farhan Arshad's previous message
CLR A IDATALOOP: MOV @R0,A; my code stuck in the loop DJNZ R0,IDATALOOP;Indeed, you load R0 with zero, then do DJNZ with R0 and then clear it again -- infinite loop.
Hint: I think you should use MOVX for xdata memory access.
Moreover, xdata memory size is more than 256 bytes so I think you should use DPTR and corresponded number of loops.
|startup code||Farhan Arshad||10/28/04 23:49|
|RE: startup code||Farhan Arshad||10/28/04 23:58|
|RE: startup code||Oleg Sergeev||10/29/04 07:28|