Re: 16F1936 PortA.7 NO Digital out???
The _LVP_OFF should not make any difference in the way a program runs. I had to change it to program my board.
In your original post you stated that you were using PBP. In PBP3 you use #CONFIG/#ENDCONFIG Not ASM/ENDASM for configuration of the PIC's.
According to the PBP manual:
The #CONFIG block is similar to the ASM..ENDASM and @ runtime commands because its contents are written in Assembly Language. It is a special case, however, and differs from the runtime commands in significant ways. The code enclosed in a #CONFIG block always replaces the default configuration settings that PBP would normally include. The code is placed in a special location in the generated Assembly Language. This location is reserved for configuration directives; therefore #CONFIG should not be used for other Assembly instructions.