| ??? 12/02/07 16:11 Read: times |
#147726 - Wholehardely agree Responding to: ???'s previous message |
Having complex indexed loads while in interrupt does not only cost the time. It will also burn some bytes from Your stack - certainly more than those three needed in this case.
1) what is complex about q=r[s] or movc a,@A=dptr ? I have NEVER heard of a '51 interrupt "burn some bytes from Your stack" The interrupt code should be made as simple as possible Wholehardely agree, just 2 microseconds is hardly desimplifying. and having some sort of conversions in there will add to the complexity. Debugging interrupts is not an easy task - not for the beginner at least. Debugging complex interrupts is really hard even for the experienced one. 1) a table lookup is hardly 'complex' 2) what is 'difficult? the ICE works the same in both places. Erik PS I mention "the ICE", for the VERSA read "the JTAG debugger" PPS if you linuxify the bootloader, i doubt you will keep the JTAG debugger and whaevewr else I might feel were it me I would not lose that at any price. |



