DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC18LF4420T-I/SO 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC18LF4420T-I/SO Datasheet PDF : 390 Pages
First Prev 291 292 293 294 295 296 297 298 299 300 Next Last
PIC18F2420/2520/4420/4520
POP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
Pop Top of Return Stack
POP
None
(TOS) bit bucket
None
0000 0000 0000 0110
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
Q2
No
operation
Q3
POP TOS
value
Q4
No
operation
Example:
POP
GOTO
Before Instruction
TOS
Stack (1 level down)
After Instruction
TOS
PC
NEW
= 0031A2h
= 014332h
= 014332h
= NEW
PUSH
Push Top of Return Stack
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
PUSH
None
(PC + 2) TOS
None
0000 0000 0000 0101
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 implementing a
software stack by modifying TOS and
then pushing it onto the return stack.
1
1
Q2
PUSH
PC + 2 onto
return stack
Q3
No
operation
Q4
No
operation
Example:
PUSH
Before Instruction
TOS
PC
After Instruction
PC
TOS
Stack (1 level down)
= 345Ah
= 0124h
= 0126h
= 0126h
= 345Ah
DS39631A-page 296
Preliminary
2004 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]