Quoting "M.L." : > Neil, > It's generally pretty simple to call assembly subroutines from C and > vice versa. Your compiler should have a straight-forward document that > describes calling conventions. The Microchip C30 compiler has a good > document for this: > http://ww1.microchip.com/downloads/en/DeviceDoc/C30_Users_Guide_51284f.pd= f Yet another few hundred pages for me to read in =20 my ample spare time. But I guess I have to =20 sometime soon. > Anything other than assembly is impossible to know exact timing. I > can't speak for any Atmel compilers but I know that I really like > working with the dsPIC/PIC24 architecture. The C30 compiler does a > good job and these parts seem to be well engineered. Maybe not impossible, but most probably not practical. Thanks, -Neil. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .