up: microprocessors - microchip 16F84A - data memory  
Microchip 16F84A
Indirect Addressing
What 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
embedded systems - sensors
software:links
file formats - PDF - Graphics State
Drivers
electronics - Complex programmable logic device (CPLD)
MC6802 - interrupts
filename:microprocessors - microchip 16F84A - indirect addressing
filename:microprocessors%20%2D%20microchip%2016F84A%20%2D%20indirect%20addressing
last edit:June 02 2011 21:32:22 (5081 days ago)
ct = 1746064179.000000 = April 30 2025 21:49:39
ft = 1307064742.000000 = June 02 2011 21:32:22
dt = 438999437.000000