I have the below code:
---------------------------------------------------
trisabuf VAR BYTE
movlw 0x10 ; 00010000 - RA4 is entry
movwf trisabuf
---------------------------------------------------
bsf trisabuf,3
movf trisabuf,W
tris PORTA
----------------------------------------------------
What mean : tris PORTA ;
This mean that PORTA = trisabuf ;
---------------------------------------------------
trisabuf VAR BYTE
movlw 0x10 ; 00010000 - RA4 is entry
movwf trisabuf
---------------------------------------------------
bsf trisabuf,3
movf trisabuf,W
tris PORTA
----------------------------------------------------
What mean : tris PORTA ;
This mean that PORTA = trisabuf ;
Last edited: