Vidyarthiplus (V+) - Indian Students Online Education Forum

Full Version: A doubt in Assembly lang. Program (PIC16f877a)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A program to clear Ram locations 20H-2FH using indirect addressing:
(from PIC16f87x datasheet, page 27)

movlw 20h
movwf fsr
next: clrf indf
incf fsr, f
btfss fsr, 4
goto next
end

i am not understanding the 5th line of this program..
Why are we checking for 4th bit of 2fH