If you are using PIC 18F, then use simplest solution is
LATB.4=Control.0
LATB.5=Control.1
LATB.6=Control.2
LATB.7=Control.3
EDIT:
For PIC16
PortBCopy var byte
PortBCopy = PORTB
PortBCopy .4=Control.0
PortBCopy .5=Control.1
PortBCopy .6=Control.2
PortBCopy .7=Control.3
PORTB=PortBCopy
Bookmarks