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
Visit site
Activity points
46
Hello forum members,



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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…