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.

MPLAB simulation issue, as it doesn set bit 0 of PORTA

Status
Not open for further replies.

coolchip

Full Member level 2
Joined
Nov 17, 2003
Messages
125
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Activity points
1,109
mplab problem

Simulating the following in MPLAB v7.20 debugger doesn't set bit 0 of PORTA of 16f877A.

clrw
bsf STATUS, RP0
clrf TRISA
bcf STATUS, RP0
bsf PORTA, 0
retlw 0

Everything else works fine.
Anybody?
 

Re: mplab problem

did u forget to configure ADCON ??? put 0x07 in the register

regards
 

    coolchip

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top