On Wed, Apr 9, 2008 at 7:58 AM, Stephen D. Barnes wrote: > Well, in previous posts where I though I answered my own question..I did > not. > In ASM30, how does one create a symbol that relates to a single port pin? > A bit tricky here. You need to use the C30 toolsuite instead of ASM30. Picyahoo (http://adpm.homeip.net/picyahoo.html) found this. http://forum.microchip.com/tm.aspx?m=287262 Quote: ********************* Here's what I needed to do to solve my problem (assuming you are assembling your project within MPLAB IDE 7.52 or later). (Note: I did not have to change or add anything special to the command line options). 1) Remove your ASM30 source code (.s) files from your project window. 2) Remove each of your ASM30 source code (.s) files from the MPLAB IDE editor window (right click ===> Close). 3) Change the extension of your ASM30 source code (.s) files from lower case to uppercase: (.S). 4) Add your your ASM30 source code (.s) files back to your project. 5) Change your 'Active Toolsuite' to: Microchip C30 Toolsuite (instead of Microchip ASM30 Toolsuite) (you can use the free Student Edition of C30) 6) Invoke 'Make' or 'Build All' to assemble your source code -- the text substitution now works. 7) Now something like this is possible and assembles error-free just like in MPASM: #define USART_TX_PIN PORTC, #6 #define USART_TX_LATCH LATC, #6 #define USART_TX_DIRECTION TRISC, #6 . . . . . . . . . BSET USART_TX_LATCH . . . . . . . . . ********************* Xiaofan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist