Hi. You might want to use this modified lcd driver found on ccs userforum. I havent tested it myself, but it seems to be what you are looking for. http://www.ccsinfo.com/forum/viewtopic.php?t=24661 /Johan moja nona skrev: > Hello. > > Situation: Driving a LCD. 3 pins are say on PORTA, 4 pins are on PORTB. I am using CCS for programing. Is there a way to group the pins of both the ports into a single register? The code would be easyer/prettyer. > > Regards! > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist