Bank select code for MPASM and PIC18F65K22?

Status
Not open for further replies.

Flyback

Well-Known Member
Hello,
If I wish to use an SFR in MPASM for PIC18F65K22, do I just first put "banksel LATA" (assuming its LATA I wish to use).?
Also, are all the SFRs in Bank 15?..the datasheet suggests this

Also, do you know where I can store variables...eg, where are the GPRs in PIC18F65K22.?

Also, we are using the ADC module of PIC18F65K22, and have a 3V reference into the reference pin.....do you know what happens if, say, 3.2v gets put into the ADC pin?....does it go back to a low number?..ie, does it roll over? (we hope not)
https://ww1.microchip.com/downloads/en/DeviceDoc/39960d.pdf
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…