參數(shù)資料
型號(hào): 16F84A
廠商: Microchip Technology Inc.
英文描述: CAT 5E CROSSOVER PATCH CORD CABLE BLUE 20 FT
中文描述: 18引腳閃存/ EEPROM的8位微控制器
文件頁數(shù): 64/124頁
文件大?。?/td> 1322K
代理商: 16F84A
PIC16F8X
DS30430C-page 64
1998 Microchip Technology Inc.
RETLW
Syntax:
Operands:
Operation:
Return with Literal in W
[ label RETLW k
0
k
255
k
(W);
TOS
PC
None
Status Affected:
Encoding:
Description:
11
01xx
kkkk
kkkk
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
Q1
Q2
Words:
Cycles:
Q Cycle Activity:
Q3
Q4
1st Cycle
Decode
Read
literal 'k'
No-Opera
tion
Write to W,
Pop from
the Stack
2nd Cycle
No-Operat
ion
No-Opera
tion
No-Opera
tion
No-Operat
ion
Example
TABLE
CALL TABLE ;W contains table
;offset value
;W now has table value
ADDWF PC ;W = offset
RETLW k1 ;Begin table
RETLW k2 ;
RETLW kn ; End of table
Before Instruction
W
=
After Instruction
W
=
0x07
value of k8
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Return from Subroutine
[ label RETURN
None
TOS
PC
None
00
0000
0000
1000
Return from subroutine. The stack is
POPed and the top of the stack (TOS)
is loaded into the program counter. This
is a two cycle instruction.
1
2
Q1
Q2
Words:
Cycles:
Q Cycle Activity:
Q3
Q4
1st Cycle
Decode
No-Opera
tion
No-Opera
tion
Pop from
the Stack
2nd Cycle
No-Operat
ion
No-Opera
tion
No-Opera
tion
No-Opera
tion
Example
RETURN
After Interrupt
PC =
TOS
相關(guān)PDF資料
PDF描述
16F871 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 6 FT
16F872 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 10 FT
16F876A 28/40-pin Enhanced FLASH Microcontrollers
16F876 CAT 5E CROSSOVER, GREEN 15 FT PATCH CABLE
16F877 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 20 FT
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
16F870 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/40-Pin 8-Bit CMOS FLASH Microcontrollers
16F871 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/40-Pin 8-Bit CMOS FLASH Microcontrollers
16F872 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28-Pin, 8-Bit CMOS FLASH Microcontroller
16F876 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/40-pin 8-Bit CMOS FLASH Microcontrollers
16F876A 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/40-pin Enhanced FLASH Microcontrollers