bsf STATUS,RP1 ; select Page 2,
bcf STATUS,RP0 ; by setting RP1 in Status register and clearing RP0
; clrf ANSEL ; select Digital I/O on port C
; clrf ANSELH ; " "
bcf STATUS,RP1 ; back to Register Page 0
The PIC16f628a does not have any ANSEL registers look at the datasheet
So this code will not compile.
Make sure you go back into bank0 after clearing the Tris registers
i use not 16f628a, i use 16f628..i completed my circuits..but leds are blinking complicated..i hope, my asm code is wrong für my connection..could u send me circuit schema and asm code?
what does it mean "a,,? soryy because that.i'm working hard but i didn't find problem..The leds are blinking absurd..am i connecting my pic's ports wrong? is that so?