Problem resolved! Many thanks to Xiaofan, Dario, and ultimately Ken Pergola, whose post in the Mchip forum described the process Xiaofan referenced. I did not find the post during my searches because the subject dealt with text substitution and I was looking for port/pin references. I am still writing code in assembly, just using the C30 toolsuite to do the build. My code now works with the #define for an individual port pin! I am surprised that the functionality present in MPASM has not carried over into ASM30. This was a work around I would never have figured out on my own. Now on to the project at hand...a small autonomous hobby robot. Many thanks to all who replied with helpful ideas...much appreciated! -- Regards, Stephen D. Barnes -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist