Noman Yousaf
Full Member level 4
- Joined
- Nov 19, 2003
- Messages
- 208
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- Lahore Pakistan
- Activity points
- 1,763
hi
i m using pic12f508 by assembly language.
a strange thing is, its datasheet tells that there is no any "TRIS" reg. in this. but when i run MPLAB 8, TRIS reg shows but when i want to mov data in it by following syntax, it shows error when building.
MOVLW 80h
MOVWF TRISIO
(i used TRISGPIO as well but result is same)
where as same code works on pic12f629
help me please
i m using pic12f508 by assembly language.
a strange thing is, its datasheet tells that there is no any "TRIS" reg. in this. but when i run MPLAB 8, TRIS reg shows but when i want to mov data in it by following syntax, it shows error when building.
MOVLW 80h
MOVWF TRISIO
(i used TRISGPIO as well but result is same)
where as same code works on pic12f629
help me please