microprocessors - microchip 16F84A - indirect addressing DELETE MEWhat links here?
The INDF register is used to read and write the register pointed to by the FSR register.

Clearing a range of RAM using indirect addressing

This example clears 0x20 to 0x2F using indirect addressing.
        movlw   0x20        ;initialize pointer
        movwf   FSR         ;to RAM
NEXT    clrf    INDF        ;clear INDF register
        incf    FSR         ;inc pointer
        btfss   FSR,4       ;all done?
        goto    NEXT        ;NO, clear next
CONTINUE
        :                   ;YES, continue
microprocessors - microchip 16F84A - indirect addressing DELETE ME
microprocessors - microchip 16F84A - config
Topical Bible - Reconciled
programming - javascript - data types
MC6802 - assembler - directives - opt
Topical Bible - Angel of the LORD
Topical Bible - life in Christ
filename:microprocessors - microchip 16F84A - indirect addressing DELETE ME
filename:microprocessors%20%2D%20microchip%2016F84A%20%2D%20indirect%20addressing%20DELETE%20ME
last edit:March 26 2009 20:43:58 (5809 days ago)
ct = 1740079814.000000 = February 20 2025 14:30:14
ft = 1238114638.000000 = March 26 2009 20:43:58
dt = 501965176.000000