AC244027 Microchip Technology, AC244027 Datasheet - Page 31

no-image

AC244027

Manufacturer Part Number
AC244027
Description
Processor Extension Pak (PIC16LF727-ICE) 200K Device Emulator - Debugger Accesso
Manufacturer
Microchip Technology
Series
-r
Datasheet

Specifications of AC244027

Accessory Type
Debug Interface Module
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
PIC16F727
2.5
The INDF register is not a physical register. Addressing
the INDF register will cause indirect addressing.
Indirect addressing is possible by using the INDF
register. Any instruction using the INDF register
actually accesses data pointed to by the File Select
Register (FSR). Reading INDF itself indirectly will
produce 00h. Writing to the INDF register indirectly
results in a no operation (although Status bits may be
affected). An effective 9-bit address is obtained by
concatenating the 8-bit FSR register and the IRP bit of
the STATUS register, as shown in Figure 2-8.
A simple program to clear RAM location 020h-02Fh
using indirect addressing is shown in Example 2-2.
FIGURE 2-8:
© 2009 Microchip Technology Inc.
Bank Select
RP1
Note:
Indirect Addressing, INDF and
FSR Registers
RP0
Direct Addressing
6
For memory map detail, refer to Figures 2-4 and 2-5.
Data
Memory
Location Select
DIRECT/INDIRECT ADDRESSING
From Opcode
7Fh
00h
Bank 0
00
0
Bank 1
01
PIC16F72X/PIC16LF72X
Bank 2
10
EXAMPLE 2-2:
NEXT CLRF
CONTINUE
Bank 3
11
MOVLW
MOVWF
BANKISEL
INCF
BTFSS
GOTO
IRP
Bank Select
180h
1FFh
020h
020h
FSR
INDF
FSR
FSR,4 ;all done?
NEXT
7
Indirect Addressing
INDIRECT ADDRESSING
;initialize pointer
;to RAM
;clear INDF register
;inc pointer
;no clear next
;yes continue
File Select Register
DS41341E-page 31
Location Select
0

Related parts for AC244027