PIC12C671-04I/P Microchip Technology Inc., PIC12C671-04I/P Datasheet - Page 70

no-image

PIC12C671-04I/P

Manufacturer Part Number
PIC12C671-04I/P
Description
8 PIN, 1.75 KB OTP, 128 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12C671-04I/P

A/d Inputs
4-Channel, 8-Bit
Cpu Speed
2.5 MIPS
Eeprom Memory
0 Bytes
Input Output
5
Memory Type
OTP
Number Of Bits
8
Package Type
8-pin PDIP
Programmable Memory
1.75K Bytes
Ram Size
128 Bytes
Speed
4 MHz
Timers
1-8-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC12C67X
10.1
The PIC12C67X’s orthogonal instruction set allows
read and write of all file registers, including special
function registers. There are some special situations
the user should be aware of:
10.1.1
If an instruction writes to STATUS, the Z, C and DC bits
may be set or cleared as a result of the instruction and
overwrite the original data bits written. For example,
executing CLRF STATUS will clear register STATUS,
and then set the Z bit leaving 0000 0100b in the reg-
ister.
10.1.2
Bit 3 of the TRIS register always reads as a '1' since
GP3 is an input only pin. This fact can affect some read-
modify-write operations on the TRIS register.
DS30561B-page 70
Special Function Registers as
Source/Destination
STATUS AS DESTINATION
TRIS AS DESTINATION
10.1.3
Read, write or read-modify-write on PCL may have the
following results:
Read PC:
Write PCL:
Read-Modify-Write:
Where PCH = program counter high byte (not an
addressable register), PCLATH = Program counter
high holding latch, dest = destination, WREG or f.
10.1.4
All bit manipulation instructions are done by first read-
ing the entire register, operating on the selected bit and
writing the result back (read-modify-write). The user
should keep this in mind when operating on special
function registers, such as ports.
PCL AS SOURCE OR DESTINATION
BIT MANIPULATION
PCL
PCLATH
8-bit destination value
PCL
PCLATH
8-bit result
1999 Microchip Technology Inc.
ALU operand
dest
PCH;
PCH;
PCL
PCL

Related parts for PIC12C671-04I/P