English
Language : 

MCP19110 Datasheet, PDF (79/226 Pages) Microchip Technology – Digitally Enhanced Power Analog Controller with Integrated Synchronous Driver
MCP19110/11
EXAMPLE 11-3: INDIRECT ADDRESSING
MOVLW
MOVWF
NEXT CLRF
INCF
BTFSS
GOTO
CONTINUE
0x40
FSR
INDF
FSR
FSR,7
NEXT
;initialize pointer
;to RAM
;clear INDF register
;inc pointer
;all done?
;no clear next
;yes continue
FIGURE 11-3:
DIRECT/INDIRECT ADDRESSING
Direct Addressing
RP1 RP0 6 From Opcode 0
Indirect Addressing
IRP 7 File Select Register 0
Bank Select Location Select
Bank Select
00
01
10
11
00h
180h
Location Select
Data
Memory
7Fh
1FFh
Bank 0 Bank 1 Bank 2 Bank 3
For memory map detail, see Figure 11-2.
 2013 Microchip Technology Inc.
DS20002331B-page 79