PIC16CR58A Microchip Technology, PIC16CR58A Datasheet - Page 153

no-image

PIC16CR58A

Manufacturer Part Number
PIC16CR58A
Description
ROM-Based 8-Bit CMOS Microcontroller Series
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16CR58A-04/P042
Manufacturer:
MOTOROLA
Quantity:
80
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
OPTION
Operands:
Syntax:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
1997 Microchip Technology Inc.
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 PIC16CXX products, do
not use this instruction.
Decode
NOP
Q1
00
00
OPTION
NOP
OPTION
Operation
0000
0000
Q2
No-
0110
Operation
0xx0
Q3
No-
0010
Operation
0000
No-
Q4
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
2nd Cycle
1st Cycle
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 setting
Global Interrupt Enable bit, GIE
(INTCON<7>). This is a two cycle
instruction.
1
2
After Interrupt
Operation
Decode
RETFIE
Q1
00
No-
GIE
PC,
PIC16C6X
PC =
GIE =
RETFIE
Operation
Operation
0000
Q2
No-
No-
DS30234D-page 153
TOS
1
Operation
0000
Set the
GIE bit
Q3
No-
Operation
the Stack
Pop from
1001
Q4
No-

Related parts for PIC16CR58A