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.

Program Counter does not work

Status
Not open for further replies.

BLaacK89

Newbie level 4
Joined
Oct 29, 2014
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
46
Hello forum members,

image.jpg

I wrote this code for to see only pclath works

ignore configuration, rcsta etc. Please focus only program counter.

Could you help me ?
 

pagesel/PCLATH operation seems correct at first sight. What's particularly not working for you?
 

Please check line 25

it seems goto 0x104
it means 00001 0000 0100

but I know it has to go to 0x904
it means 01001 0000 0100

why did the code accept pclath ( bsf pclath,3) ?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top