PIC16C621A Datasheet

  • PIC16C621A

  • EPROM-Based 8-Bit CMOS Microcontrollers

  • 2148.18KB

  • 128页

  • Microchip   Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

PIC16C62X
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Unconditional Branch
[
label
]
GOTO k
0
鈮?/div>
k
鈮?/div>
2047
k
鈫?/div>
PC<10:0>
PCLATH<4:3>
鈫?/div>
PC<12:11>
None
10
1kkk
kkkk
kkkk
GOTO
is an unconditional branch. The
eleven bit immediate value is loaded
into PC bits <10:0>. The upper bits of
PC are loaded from PCLATH<4:3>.
GOTO
is a two-cycle instruction.
INCFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Increment f, Skip if 0
[
label
]
INCFSZ f,d
0
鈮?/div>
f
鈮?/div>
127
d
鈭?/div>
[0,1]
(f) + 1
鈫?/div>
(dest), skip if result = 0
None
00
1111
dfff
ffff
The contents of register 'f' are
incremented. If 'd' is 0 the result is
placed in the W register. If 'd' is 1 the
result is placed back in register 'f'.
If the result is 0, the next instruction,
which is already fetched, is discarded.
A NOP is executed instead making it
a two-cycle instruction
.
Words:
Cycles:
Example
1
2
GOTO THERE
Words:
Cycles:
Address
THERE
1
1(2)
INCFSZ
GOTO
CONTINUE 鈥?/div>
鈥?/div>
鈥?/div>
HERE
CNT,
LOOP
1
After Instruction
PC =
Example
Before Instruction
PC
=
address
HERE
CNT + 1
0,
address
CONTINUE
0,
address
HERE +1
After Instruction
CNT =
if CNT=
PC
=
if CNT鈮?/div>
PC
=
INCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Increment f
[
label
]
INCF f,d
0
鈮?/div>
f
鈮?/div>
127
d
鈭?/div>
[0,1]
(f) + 1
鈫?/div>
(dest)
Z
00
1010
dfff
ffff
The contents of register 'f' are
incremented. If 'd' is 0 the result is
placed in the W register. If 'd' is 1 the
result is placed back in register 'f'.
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Inclusive OR Literal with W
[
label
]
IORLW k
0
鈮?/div>
k
鈮?/div>
255
(W) .OR. k
鈫?/div>
(W)
Z
11
1000
kkkk
kkkk
The contents of the W register is
OR鈥檈d with the eight bit literal 'k'. The
result is placed in the W register
.
Words:
Cycles:
Example
1
1
IORLW
W
0x35
=
=
=
0x9A
0xBF
1
Words:
Cycles:
Example
1
1
INCF
CNT, 1
CNT
Z
=
=
=
=
0xFF
0
0x00
1
Before Instruction
After Instruction
W
Z
Before Instruction
After Instruction
CNT
Z
1998 Microchip Technology Inc.
Preliminary
DS30235G-page 67

PIC16C621A相关型号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

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

建议反馈

联系人:

联系方式:

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