Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Bank selection in 877A

Status
Not open for further replies.

williamchia

Newbie level 6
Joined
Jan 19, 2007
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,390
Hi all,

I keep on recieving this message "Register in operand not in bank 0. Ensure that bank bits are correct" (Using MPLAB)

The register is in Bank1 (TRISA) and i type the code

"BSF 03h,RP0
BCF 03h,RP1 "

(From 877A data sheet: bank 0 = RP1:RP0 = 0
bank 1 = RP1:RP0 = 1)

and come back to back 0 again by typing

" BCF 03h,RP0 "

I dunno what go wrong and why the message keeps coming out after trying many times??
(the hardware is not working too)

Thank you.

Regards,
William
 

Usual message, dont worry!(just a reminder from MPLAB that you have accessed bank other than bank0.

But if you are so particular that it should be avoided ,there is a directive like -302 or something . Refer manual and give that directive, it will disappear.

the hardware not working may be another issue.

regards
picstudent
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top