PIC18F47J53 FAMILY
DS39964B-page 474
Preliminary
2010 Microchip Technology Inc.
BZ
Branch if Zero
Syntax:
BZ
n
Operands:
-128
n 127
Operation:
if Zero bit is ‘1’,
(PC) + 2 + 2n
PC
Status Affected:
None
Encoding:
1110
0000
nnnn
Description:
If the Zero bit is ‘1’, then the program
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.
Words:
1
Cycles:
1(2)
Q Cycle Activity:
If Jump:
Q1
Q2
Q3
Q4
Decode
Read literal
‘n’
Process
Data
Write to
PC
No
operation
No
operation
No
operation
No
operation
If No Jump:
Q1
Q2
Q3
Q4
Decode
Read literal
‘n’
Process
Data
No
operation
Example:
HERE
BZ
Jump
Before Instruction
PC
=
address (HERE)
After Instruction
If Zero
=
1;
PC
=
address (Jump)
If Zero
=
0;
PC
=
address (HERE + 2)
CALL
Subroutine Call
Syntax:
CALL k {,s}
Operands:
0
k 1048575
s
[0,1]
Operation:
(PC) + 4
TOS,
k
PC<20:1>;
if s = 1
(W)
WS,
(STATUS)
STATUSS,
(BSR)
BSRS
Status Affected:
None
Encoding:
1st word (k<7:0>)
2nd word(k<19:8>)
1110
1111
110s
k19kkk
k7kkk
kkkk
kkkk0
kkkk8
Description:
Subroutine call of entire 2-Mbyte
memory range. First, return address
(PC+ 4) is pushed onto the return stack.
If ‘s’ = 1, the W, STATUS and BSR
registers are also pushed into their
respective shadow registers, WS,
STATUSS and BSRS. If ‘s’ = 0, no
update occurs (default). Then, the
20-bit value ‘k’ is loaded into PC<20:1>.
CALL is a two-cycle instruction.
Words:
2
Cycles:
2
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read literal
‘k’<7:0>,
Push PC to
stack
Read literal
’k’<19:8>,
Write to PC
No
operation
No
operation
No
operation
No
operation
Example:
HERE
CALL
THERE,1
Before Instruction
PC
=
address (HERE)
After Instruction
PC
=
address (THERE)
TOS
=
address (HERE + 4)
WS
=
W
BSRS
=
BSR
STATUSS =
STATUS
相关PDF资料
PIC18F67J50-I/PT IC PIC MCU FLASH 64KX16 64TQFP
PIC32MX230F064D-I/ML IC MCU 32BIT 64KB FLASH 44-QFN
PIC32MX150F128D-I/ML IC MCU 32BIT 128KB FLASH 44-QFN
PIC24FJ64GB002-I/SS MCU 64KB FLASH 8KB RAM 28-SSOP
TS80C31X2-MCA IC MCU 8BIT 40/20MHZ 40-DIP
PIC24HJ32GP304-I/PT IC PIC MCU FLASH 32K 44TQFP
PIC18F46J53-I/ML IC PIC MCU 64KB FLASH 44QFN
PIC32MX230F064D-I/TL IC MCU 32BIT 64KB FLASH 44-VTLA
相关代理商/技术参数
PIC18F66K90T-I/MR 功能描述:8位微控制器 -MCU 64kB Flash 4kB RAM LCD RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F66K90T-I/MRRSL 功能描述:8位微控制器 -MCU 64KB Flash 4KB RAM nanoWatt XLP LCD RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F66K90T-I/PT 功能描述:8位微控制器 -MCU 64kB Flash 4kB RAM LCD RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F66K90T-I/PTRSL 功能描述:8位微控制器 -MCU 64KB Flash 4KB RAM nanoWatt XLP LCD RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6720-E/PT 功能描述:8位微控制器 -MCU 128KB 3840 RAM 52I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6720-I/PT 功能描述:8位微控制器 -MCU 128KB 3840 RAM 52I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6720-I/PT 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F6720 TQFP64
PIC18F6720-I/PTC01 制造商:Microchip Technology 功能描述:MCU 8-Bit PIC18 PIC RISC 128KB Flash 5V 64-Pin TQFP Tray