On Tue, 29 Jan 2002 10:41:55 -0700, Tim Webb wrote: >why am I getting these errors? > >Error[108] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 27 : Illegal character = (,) >Error[108] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 28 : Illegal character = (,) >Error[108] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 29 : Illegal character = (,) >Error[128] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 66 : Missing argument(s) >Error[128] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 67 : Missing argument(s) >Error[128] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 98 : Missing argument(s) >Error[128] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 110 : Missing = argument(s) >Error[128] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 117 : Missing = argument(s) >Error[128] C:\PROGRA~1\MPLAB\ET53965\LCD2.ASM 119 : Missing = argument(s) > > > >rw equ PORTA,0 >rs equ PORTA,1 >cs equ PORTA,2 > You need to use '#define' to do a text substitution for the port name and bit number. 'equ' is used to assign a single numeric value to a mnemonic and can't handle two values as you're trying to do here. I believe that the rest of the errors are caused by these errors. Regards, Bob -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.