Sorry about the confusion. What I have is 7 LED's connected to PortB on a 16F88. 5 LED's act as a Tachometer, and the other 2 act as warning lights. I want 5 LED's to change according to RPM, yet I dont want the other 2 LED's to be changed due to the Tach.
I was just reading the datasheet and was confused, cause it mentions only number between 0 - 127 can be moved. But anyways, would this be fine:
movf PORTB,W
andwf b'11100001'
movwf REGISTER
As suggested by banaasiong. Would it work for my situation? Thanks!