??? 06/12/05 13:02 Read: times |
#94720 - one way Responding to: ???'s previous message |
define a bit for reseting:
resetflag equ 00h at first clear it now,you can check this bit in all of your program when you want the mcu to be reseted just setb it after this your program can jump to org 00 see: asuume delay routine is used for lcd,keypad,... org 00 main: delay: .. .. .. .. sub0: jb tf0,sub1 jnb resetflag,sub0 pop 0 ; pop 0 ; this poping is for adjusting stack jmp main sub1: .. .. .. ret Mehdi |
Topic | Author | Date |
Program causing reset! | 01/01/70 00:00 | |
one way | 01/01/70 00:00 | |
Actually I want to avoid reset. | 01/01/70 00:00 | |
Lets look into the crystal ball! | 01/01/70 00:00 | |
Schematic & code | 01/01/70 00:00 | |
I am not asking you for a solution... | 01/01/70 00:00 | |
Program causing Reset![]() | 01/01/70 00:00 | |
No "main loop" | 01/01/70 00:00 | |
Different author -- Sorry | 01/01/70 00:00 | |
Possible reasons for unwanted reset | 01/01/70 00:00 |