mrinalmani
Advanced Member level 1
- Joined
- Oct 7, 2011
- Messages
- 467
- Helped
- 60
- Reputation
- 121
- Reaction score
- 59
- Trophy points
- 1,318
- Location
- Delhi, India
- Activity points
- 5,348
I am using MPLAB X
The SFRs do not seem to be changing their initial values. After the following code, TRISB should = 0, and PORTB 7
but they do not change. (I am using the simulator)
Please help
The SFRs do not seem to be changing their initial values. After the following code, TRISB should = 0, and PORTB 7
but they do not change. (I am using the simulator)
Please help
Code:
start
MOVLW 0H
MOVWF TRISB
MOVLW 7H
MOVWF PORTB
GOTO start
END
Last edited by a moderator: