??? 08/30/07 18:07 Modified: 08/30/07 18:18 Read: times |
#143764 - it\\\'s still very badly written Responding to: ???'s previous message |
Guru,
I don't know if there is any sense in trying to correct a such badly written - well, code. What about doing the following: restart from scratch, just trying to display the "TANKTRACKS" message (with the fixed delay loops) and then end in an infinite loop, doing NOTHING. No input pins checking, no interrupts, no serial port handling whatsoever - it can wait for later, when the initial "printout" works OK. Please add comments - your comments should show your intention, e.g. "Wait 0.1 second as per LCD's datasheet", "receive character and put it into the buffer", or so. JW PS. One tip: most assemblers accept characters instead of decimal or hexadecimal numbers, as direct data in instructions, e.g. MOV A,#'T' |
Topic | Author | Date |
help me in debugging asm code | 01/01/70 00:00 | |
too tough to read | 01/01/70 00:00 | |
Formatted and some comments | 01/01/70 00:00 | |
LCD and Serial Port Initialization | 01/01/70 00:00 | |
it\\\'s still very badly written![]() | 01/01/70 00:00 |