I don't think equ will be possible. But how about a named macro that mentions/addresses all 4 bits? Bye. -----Original Message----- From: JP [mailto:piclist@MAILANDNEWS.COM] Sent: Tuesday, 25 September 2001 11:42 To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: Setting Equates to part of a port? I need to set a variable name to 4 pins of portb (16F84). Is it possible? E.g. I need to assign the name LCD to portb, bits 4,5,6,7. If I were assigning it to just portb then I would use LCD equ portb But I have no idea how to do this just using 4 bits! JP. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads