Pedja089, Why not just say:

for control = 0 to 15
LATB = LATB & $0F 'strip upper 4 bits
LATB = LATB | Control << 4 'add new control bits
next control