newbie111
Member level 2
[#include <p16F690.inc>
__config (_INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_OFF & _MCLRE_OFF & _CP_OFF & _BOR_OFF & _IESO_OFF & _FCMEN_OFF)
myPortC equ 0x07
org 0x000
start movlw 0x00
tris myPortC
movlw b'1111'
movwf myPortC
circle goto circle
end]
I tried the code and it worked
my q is how come we do not need to go from bank 1 to bank 0 for setting?
Thanks[/code]
__config (_INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_OFF & _MCLRE_OFF & _CP_OFF & _BOR_OFF & _IESO_OFF & _FCMEN_OFF)
myPortC equ 0x07
org 0x000
start movlw 0x00
tris myPortC
movlw b'1111'
movwf myPortC
circle goto circle
end]
I tried the code and it worked
my q is how come we do not need to go from bank 1 to bank 0 for setting?
Thanks[/code]