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

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
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
1999 Microchip Technology Inc.
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
Z
Inclusive OR the W register with
register ’f’. If ’d’ is 0, the result is
placed in the W register. If ’d’ is 1,
the result is placed back in regis-
ter ’f’.
1
1
Before Instruction
After Instruction
Move Literal to W
[ label ]
0
k
None
The eight bit literal ’k’ is loaded
into W register. The don’t cares
will assemble as 0’s.
1
1
After Instruction
IORWF
MOVLW
00
11
f
k
[0,1]
(W)
127
255
RESULT =
W
RESULT =
W
Z
W
IORWF
MOVLW k
0100
00xx
0x5A
=
(dest)
RESULT, 0
=
=
=
0x5A
dfff
kkkk
f,d
0x13
0x91
0x13
0x93
1
ffff
kkkk
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move f
[ label ]
0
d
(f)
Z
The contents of register f are
moved to a destination dependant
upon the status of d. If d = 0, des-
tination is W register. If d = 1, the
destination is file register f itself.
d = 1 is useful to test a file register
since status flag Z is affected.
1
1
After Instruction
Move W to f
[ label ]
0
(W)
None
Move data from W register to reg-
ister 'f'.
1
1
Before Instruction
After Instruction
MOVF
MOVWF
00
00
f
f
[0,1]
(dest)
PIC12C67X
127
127
(f)
W = value in FSR register
Z = 1
OPTION =
W
OPTION =
W
MOVF f,d
MOVWF
1000
0000
FSR,
OPTION
DS30561B-page 77
0
=
=
dfff
1fff
f
0xFF
0x4F
0x4F
0x4F
ffff
ffff

Related parts for PIC12C671-04I/P