??? 10/29/04 13:28 Read: times |
#80001 - RE: startup code Responding to: ???'s previous message |
hi,
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. Regards, Oleg |
Topic | Author | Date |
startup code | 01/01/70 00:00 | |
RE: startup code | 01/01/70 00:00 | |
RE: startup code![]() | 01/01/70 00:00 |