PIC16CR83 Datasheet

  • PIC16CR83

  • 18-pin Flash/EEPROM 8-Bit Microcontrollers

  • 2018.18KB

  • 125页

  • MICROCHIP

扫码查看芯片数据手册

上传产品规格书

PDF预览

PIC16F8X
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Return with Literal in W
[
label
]
RETLW k
0
鈮?/div>
k
鈮?/div>
255
k
鈫?/div>
(W);
TOS
鈫?/div>
PC
None
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.
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Return from Subroutine
[
label
]
None
TOS
鈫?/div>
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.
RETURN
Words:
Cycles:
Q Cycle Activity:
1st Cycle
2nd Cycle
1
2
Q1
Decode
Words:
Cycles:
Q Cycle Activity:
1st Cycle
2nd Cycle
1
2
Q1
Decode
Q2
Q3
Q4
Q2
Read
literal 'k'
Q3
Q4
No-Opera No-Opera Pop from
tion
tion
the Stack
No-Opera No-Opera No-Opera
tion
tion
tion
No-Opera Write to W,
tion
Pop from
the Stack
No-Operat
ion
No-Operat
ion
No-Opera No-Opera No-Operat
tion
tion
ion
Example
RETURN
After Interrupt
Example
CALL TABLE
鈥?/div>
鈥?/div>
鈥?/div>
TABLE ADDWF PC
RETLW k1
RETLW k2
;W contains table
;offset value
;W now has table value
PC =
TOS
;W = offset
;Begin table
;
鈥?/div>
鈥?/div>
鈥?/div>
RETLW kn
; End of table
Before Instruction
W
W
=
=
0x07
value of k8
After Instruction
DS30430C-page 64
1998 Microchip Technology Inc.

PIC16CR83 PDF文件相关型号

PIC16CR84

PIC16CR83相关型号PDF文件下载

  • 型号
    版本
    描述
    厂商
    下载
  • 英文版
    8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontroller with EEPROM Data Memory
    MICROCHIP ...
  • 英文版
    8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...
    MICROCHIP ...
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP ...
  • 英文版
    8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    Microcontroller
    MICROCHIP
  • 英文版
    Microcontroller 
    Microchip
  • 英文版
    Microcontroller
    ETC
  • 英文版
    EPROM-Based 8-Bit CMOS Microcontroller
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    ETC
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP ...
  • 英文版
    28-Pin Programmable Mixed Signal Controller
    Microchip
  • 英文版
    EPROM Memory Programming Specification
    Microchip
  • 英文版
    Microcontroller
    ETC
  • 英文版
    Microcontroller
    ETC
  • 英文版
    EPROM/ROM-Based 8-Bit CMOS Microcontroller Series
    MICROCHIP

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!