Em 30/10/2011 18:28, PICdude escreveu: > I may suffer alternate torment though, as I expect bit-banging (which =20 > I do often) will be trickier. Not at all. It is perfectly possible to do bit-banging in C. It may be tricky if you need cycle-exact timings, but then you can always use inline assembly or create small assembly-only routines called from your C code. > However, this (using C) is my possible =20 > direction... I was in the process of porting 16F883 apps to 16F1936, =20 > but reconsidering the 18F23K22 now as it should be better with C. Don't worry. If you have some spare FLASH, even the 16F devices are perfectly usable in C. > I'm evaluating C compilers also, as I can't get a good handle on =20 > performance of the various compiler options compared to assembly. =20 > I'll be back when I have more to report. I suggest Hi-Tech PICC. The code it generates is so efficient that I would hardly feel compelled to try to improve it in assembly. Isaac --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .