I want to move data on LCD pin which connected on pin number 12,13 and 15 portB, Will give logic will work portB have pin 0 to 7 and then 12 to 15 pin. I am using p24fj64gc010 controller
The attached code is useless in regard to the issue, there isn't any reference to any pin/port there.
Moreover the question itself is unclear at all, you did not specify the map from/to for the pins to change.