| ??? 12/02/07 16:54 Read: times |
#147730 - you need to read "the bible" Responding to: ???'s previous message |
You have to push all the registers You use in any interrupt unless You want to get a real mess around.
You do NOT need to push registers. Using the '51 in many ways defeat "common wisdom" You need to read "the bible" and get familiar with thye chip, if you plan to use it. Thus using table lookups, and that IS costly on C, is to be avoided during interrupts. no, as I state3d it will cost you "two lousy microseconds" NO MORE THAN THAT. And, if I recall the VERSA is a 40 MHz 6 clocker so the total will be less than 300 nanoseconds. Erik here are the links to "the bible" Chapter 1 - 80C51 Family Architecture: http://www.nxp.com/acrobat_d...ARCH_1.pdf Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set: http://www.nxp.com/acrobat_d...UIDE_1.pdf Chapter 3 - 80C51 Family Hardware Description: http://www.nxp.com/acrobat_d...WARE_1.pdf |



