PIC18F1220 MICROCHIP [Microchip Technology], PIC18F1220 Datasheet - Page 222

no-image

PIC18F1220

Manufacturer Part Number
PIC18F1220
Description
18/20/28-Pin High-Performance, Enhanced Flash Microcontrollers with 10-bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F1220-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F1220-I/P
Manufacturer:
Microchip Technology
Quantity:
198
PIC18F1220/1320
POP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
DS39605C-page 220
Q Cycle Activity:
Before Instruction
After Instruction
Decode
TOS
Stack (1 level down)
TOS
PC
Q1
operation
Pop Top of Return Stack
[ label ]
None
(TOS)
None
The TOS value is pulled off the
return stack and is discarded. The
TOS value then becomes the
previous value that was pushed
onto the return stack.
This instruction is provided to
enable the user to properly manage
the return stack to incorporate a
software stack.
1
1
POP
GOTO
0000
Q2
No
bit bucket
POP
0000
NEW
=
=
=
=
Pop TOS
value
Q3
0x0031A2
0x014332
0x014332
NEW
0000
operation
Q4
No
0110
PUSH
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Q Cycle Activity:
Before Instruction
After Instruction
Decode
TOS
PC
PC
TOS
Stack (1 level down)
Q1
PC + 2 onto
return stack
Push Top of Return Stack
[ label ]
None
(PC + 2)
None
The PC + 2 is pushed onto the top
of the return stack. The previous
TOS value is pushed down on the
stack.
This instruction allows implement-
ing a software stack by modifying
TOS and then pushing it onto the
return stack.
1
1
PUSH
Push
0000
Q2
 2004 Microchip Technology Inc.
PUSH
0000
TOS
=
=
=
=
=
operation
Q3
No
0x00345A
0x000124
0x000126
0x000126
0x00345A
0000
operation
Q4
No
0101

Related parts for PIC18F1220