PIC17C756A MICROCHIP [Microchip Technology], PIC17C756A Datasheet - Page 55
![no-image](/images/no-image-200.jpg)
PIC17C756A
Manufacturer Part Number
PIC17C756A
Description
High-Performance 8-bit CMOS EPROM Microcontrollers with 10-bit A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC17C756A.pdf
(304 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17C756A
Manufacturer:
Microchip
Quantity:
6
Company:
Part Number:
PIC17C756A-16/L
Manufacturer:
MICROCHIP
Quantity:
101
Company:
Part Number:
PIC17C756A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C756A-16/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC17C756A-16/PT
Manufacturer:
SA
Quantity:
12 000
Company:
Part Number:
PIC17C756A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C756A-16/PT
Manufacturer:
MICROCHI
Quantity:
20 000
Company:
Part Number:
PIC17C756A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C756A-16E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C756A-16I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C756A-16I/L
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C756A-16I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC17C756A-33
Manufacturer:
Microchip
Quantity:
5 510
Company:
Part Number:
PIC17C756A-33
Manufacturer:
INTEL
Quantity:
5 510
Part Number:
PIC17C756A-33/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
7.4.2
The indirect addressing capability has been enhanced
over that of the PIC16CXX family. There are two control
bits associated with each FSR register. These two bits
configure the FSR register to:
• Auto-decrement the value (address) in the FSR
• Auto-increment the value (address) in the FSR
• No change to the value (address) in the FSR after
These control bits are located in the ALUSTA register.
The FSR1 register is controlled by the FS3:FS2 bits
and FSR0 is controlled by the FS1:FS0 bits.
When using the auto-increment or auto-decrement fea-
tures, the effect on the FSR is not reflected in the
ALUSTA register. For example, if the indirect address
causes the FSR to equal '0', the Z bit will not be set.
If the FSR register contains a value of 0h, an indirect
read will read 0h (Zero bit is set) while an indirect write
will be equivalent to a NOP (status bits are not affected).
Indirect addressing allows single cycle data transfers
within the entire data space. This is possible with the
use of the MOVPF and MOVFP instructions, where either
'p' or 'f' is specified as INDF0 (or INDF1).
If the source or destination of the indirect address is in
banked memory, the location accessed will be deter-
mined by the value in the BSR.
A simple program to clear RAM from 20h - FFh is
shown in Example 7-1.
EXAMPLE 7-1:
LP
after an indirect access
after an indirect access
an indirect access
2000 Microchip Technology Inc.
MOVLW
MOVWF
BCF
BSF
BCF
MOVLW
CLRF
CPFSEQ FSR0
GOTO
:
:
INDIRECT ADDRESSING
OPERATION
0x20
FSR0
ALUSTA, FS1
ALUSTA, FS0
ALUSTA, C
END_RAM + 1
INDF0, F
LP
INDIRECT ADDRESSING
; FSR0 = END_RAM+1?
;
; FSR0 = 20h
; Increment FSR
; after access
; C = 0
;
; Addr(FSR) = 0
; NO, clear next
; YES, All RAM is
; cleared
7.5
File registers TBLPTRL and TBLPTRH form a 16-bit
pointer to address the 64K program memory space.
The table pointer is used by instructions TABLWT and
TABLRD.
The TABLRD and the TABLWT instructions allow trans-
fer of data between program and data space. The table
pointer serves as the 16-bit address of the data word
within the program memory. For a more complete
description of these registers and the operation of
Table Reads and Table Writes, see Section 8.0.
7.6
The table latch (TBLAT) is a 16-bit register, with
TBLATH and TBLATL referring to the high and low
bytes of the register. It is not mapped into data or pro-
gram memory. The table latch is used as a temporary
holding latch during data transfer between program
and data memory (see TABLRD, TABLWT, TLRD and
TLWT instruction descriptions). For a more complete
description of these registers and the operation of
Table Reads and Table Writes, see Section 8.0.
Table Pointer (TBLPTRL and
TBLPTRH)
Table Latch (TBLATH, TBLATL)
PIC17C7XX
DS30289B-page 55