| ??? 09/09/07 17:41 Read: times |
#144176 - That must be the reason... Responding to: ???'s previous message |
for my code running in loops. the PC must be rolling over from 1FFF to 0000. So i got it. never let it roll over. Actually why i used END is because my program code was influenced by 8085 code where we use HLT (halt) to stop execution. Here in 8051 i assumed END does the same job.. i was wrong.
thanks all. |
| Topic | Author | Date |
| Assembler Directive DB | 01/01/70 00:00 | |
| Hmmm... Looks suspiciously like... | 01/01/70 00:00 | |
| see the list file | 01/01/70 00:00 | |
| movbe the db's to the end | 01/01/70 00:00 | |
| Formatted again | 01/01/70 00:00 | |
| highlight | 01/01/70 00:00 | |
| What do you mean? | 01/01/70 00:00 | |
| Keil DB syntax | 01/01/70 00:00 | |
| I think i found the problem | 01/01/70 00:00 | |
| you don't need to do that... | 01/01/70 00:00 | |
| You are Right | 01/01/70 00:00 | |
| Another Bug found | 01/01/70 00:00 | |
| What is the crystal frequency? | 01/01/70 00:00 | |
| I doubt it | 01/01/70 00:00 | |
| Another Mode Added ,19200 problem solved | 01/01/70 00:00 | |
| how do you mean this? | 01/01/70 00:00 | |
| Couldnt get your query | 01/01/70 00:00 | |
| END is not an instruction | 01/01/70 00:00 | |
| END is not an instruction!!! | 01/01/70 00:00 | |
| Got the point ; query about program loop | 01/01/70 00:00 | |
| How microcontroller programs end (or don't) | 01/01/70 00:00 | |
| Alternative to infinite loop | 01/01/70 00:00 | |
| what is an infinite loop? | 01/01/70 00:00 | |
That must be the reason... | 01/01/70 00:00 |



