Your code refers to Rb ports. The ports on 12F PIC's are GPIO ports.