Also you can use a quick cheat for these kind of things, like this BAT file: ------ REM @echo off REM ASM30 %* @REM make a copy of the original source with the extention .ASM MOVE %3 %~n3.ASM @REM run the preprocessor and create a file with the name of the original source @REM you may be able to use C30's compiler tool for this too, I have not check it yet "D:\MinGW\bin\cpp.exe" -E %~n3.ASM -o %3 @REM run the assembler "D:\Program Files\Microchip\MPLAB ASM30 Suite\bin\pic30-as.exe" %* @REM to keep the macro expansion for diagnostics MOVE %3 %~n3.MAC @REM copy back the original source MOVE %~n3.ASM %3 ------ So if you change the toolsuit settings to use this bat file instead of the assembler, then you can achieve the goal for the moment - it could have some circumstances when it may fail though. Tamas On Thu, Apr 10, 2008 at 9:35 AM, Alan B. Pearce 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? > >> > > > >I came across this problem and couldn't find a way to define an > individual > >port bit. I just define the bit so the code is something like: > > > >bsf PORTA, LED1 > > Use Olins development environment. He has a pre-processor that does all > this > for you. IIRC he has macros set up for use with the 24/30 series chips. > http://www.embedinc.com/pic/ > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Rudonix DoubleSaver Did You Know that DoubleSaver is Smaller and More Powerful FailSafe Device than Any Other You can Get? http://www.rudonix.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist