??? 03/02/07 00:45 Read: times |
#134068 - something else Responding to: ???'s previous message |
why not
wt: jnb ie0,wt mov A,P1 movx @DPTR,A inc dptr sjmp wt looks shorter to me (9 bytes long if I counted correctly) , not claiming it will work though... you still have a problem as the IE0 is set by hardware and only cleared if the interupt processed, te latter happening before the ISR get's called. If you do not enable interrupts I am not sure your flag will get cleared. And the reset state of interrupts is "disabled"... So, what happens with ie0 flag if the interrupts are disabled? regards Patrick |