欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18C452-I/L 参数 Datasheet PDF下载

PIC18C452-I/L图片预览
型号: PIC18C452-I/L
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能微控制器,10位A / D [High-Performance Microcontrollers with 10-Bit A/D]
分类和应用: 微控制器
文件页数/大小: 296 页 / 4835 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18C452-I/L的Datasheet PDF文件第198页浏览型号PIC18C452-I/L的Datasheet PDF文件第199页浏览型号PIC18C452-I/L的Datasheet PDF文件第200页浏览型号PIC18C452-I/L的Datasheet PDF文件第201页浏览型号PIC18C452-I/L的Datasheet PDF文件第203页浏览型号PIC18C452-I/L的Datasheet PDF文件第204页浏览型号PIC18C452-I/L的Datasheet PDF文件第205页浏览型号PIC18C452-I/L的Datasheet PDF文件第206页  
PIC18CXX2  
BNOV  
Branch if Not Overflow  
BNZ  
Branch if Not Zero  
Syntax:  
[ label ] BNOV  
n
Syntax:  
[ label ] BNZ  
-128 n 127  
if zero bit is ’0’  
n
Operands:  
Operation:  
-128 n 127  
Operands:  
Operation:  
if overflow bit is ’0’  
(PC) + 2 + 2n PC  
(PC) + 2 + 2n PC  
Status Affected:  
Encoding:  
None  
Status Affected:  
Encoding:  
None  
1110  
0101  
nnnn  
nnnn  
1110  
0001  
nnnn  
nnnn  
Description:  
If the Overflow bit is ’0’, then the  
program will branch.  
Description:  
If the Zero bit is ’0’, then the pro-  
gram will branch.  
The 2’s complement number ’2n’ is  
added to the PC. Since the PC will  
have incremented to fetch the next  
instruction, the new address will be  
PC+2+2n. This instruction is then  
a two-cycle instruction.  
The 2’s complement number ’2n’ is  
added to the PC. Since the PC will  
have incremented to fetch the next  
instruction, the new address will be  
PC+2+2n. This instruction is then  
a two-cycle instruction.  
Words:  
Cycles:  
1
Words:  
Cycles:  
1
1(2)  
1(2)  
Q Cycle Activity:  
If Jump:  
Q Cycle Activity:  
If Jump:  
Q1  
Q2  
Q3  
Q4  
Q1  
Q2  
Q3  
Q4  
Decode  
Read literal  
’n’  
Process  
Data  
Write to PC  
Decode  
Read literal  
’n’  
Process  
Data  
Write to PC  
No  
No  
No  
No  
No  
No  
No  
No  
operation  
operation  
operation  
operation  
operation  
operation  
operation  
operation  
If No Jump:  
Q1  
If No Jump:  
Q1  
Q2  
Q3  
Q4  
Q2  
Q3  
Q4  
Decode  
Read literal  
’n’  
Process  
Data  
No  
operation  
Decode  
Read literal  
’n’  
Process  
Data  
No  
operation  
HERE  
BNOV Jump  
HERE  
BNZ Jump  
Example:  
Example:  
Before Instruction  
Before Instruction  
PC  
=
address (HERE)  
PC  
=
address (HERE)  
After Instruction  
After Instruction  
If Overflow=  
0;  
If Zero  
=
=
=
=
0;  
PC  
=
address (Jump)  
1;  
PC  
address (Jump)  
1;  
If Overflow=  
If Zero  
PC  
PC  
=
address (HERE+2)  
address (HERE+2)  
DS39026B-page 202  
Preliminary  
7/99 Microchip Technology Inc.  
 复制成功!