PIC12CE67 Microchip Technology, PIC12CE67 Datasheet - Page 70

no-image

PIC12CE67

Manufacturer Part Number
PIC12CE67
Description
8-Pin/ 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12CE673-04/P
Manufacturer:
Microchip
Quantity:
486
Part Number:
PIC12CE673-04I/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC12CE673-10/P
Manufacturer:
Microchip
Quantity:
373
Part Number:
PIC12CE673-10E/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC12CE673-10I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC12CE674-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12CE674-P04
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC12CE674/JW
Manufacturer:
MICROCH
Quantity:
20 000
PIC12CE67X
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS40181B-page 70
OPTION
Operands:
Syntax:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
No Operation
[ label ]
None
No operation
None
No operation.
1
1
Load Option Register
[ label ]
None
(W)
The contents of the W register are
loaded in the OPTION register. This
instruction is supported for code com-
patibility with PIC16C5X products.
Since OPTION is a readable/writable
register, the user can directly address
it.
1
1
To maintain upward compatibility
with future PIC12C67X products,
do not use this instruction.
NOP
00
00
OPTION
NOP
OPTION
0000
0000
0110
0xx0
0010
0000
Preliminary
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TABLE
Return from Interrupt
[ label ]
None
TOS
1
None
Return from Interrupt. Stack is POPed
and Top of Stack (TOS) is loaded in
the PC. Interrupts are enabled by set-
ting Global Interrupt Enable bit, GIE
(INTCON<7>). This is a two cycle
instruction.
1
2
After Interrupt
Return with Literal in W
[ label ]
0
k
TOS
None
The W register is loaded with the eight
bit literal 'k'. The program counter is
loaded from the top of the stack (the
return address). This is a two cycle
instruction.
1
2
CALL TABLE
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Before Instruction
After Instruction
RETFIE
00
11
k
(W);
GIE
1998 Microchip Technology Inc.
255
PC,
PC
PC =
GIE =
W
W
RETFIE
RETLW k
0000
01xx
=
=
;W contains table
;offset value
;W now has table value
;W = offset
;Begin table
;
; End of table
TOS
1
0x07
value of k8
0000
kkkk
1001
kkkk

Related parts for PIC12CE67