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

PIC18F24J10-I/SO 参数 Datasheet PDF下载

PIC18F24J10-I/SO图片预览
型号: PIC18F24J10-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能, RISC微控制器 [28/40/44-Pin High-Performance, RISC Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 368 页 / 5652 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第259页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第260页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第261页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第262页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第264页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第265页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第266页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第267页  
PIC18F45J10 FAMILY  
BRA  
Unconditional Branch  
BSF  
Bit Set f  
Syntax:  
BRA  
n
Syntax:  
BSF f, b {,a}  
Operands:  
Operation:  
-1024 n 1023  
Operands:  
0 f 255  
0 b 7  
a [0,1]  
(PC) + 2 + 2n PC  
Status Affected: None  
Operation:  
1 f<b>  
Encoding:  
1101  
0nnn  
nnnn  
nnnn  
Status Affected:  
Encoding:  
None  
Description:  
Add the 2’s complement number, ‘2n’, to  
the PC. Since the PC will have  
1000  
bbba  
ffff  
ffff  
incremented to fetch the next instruction,  
the new address will be PC + 2 + 2n. This  
instruction is a two-cycle instruction.  
Description:  
Bit ‘b’ in register ‘f’ is set.  
If ‘a’ is ‘0’, the Access Bank is selected.  
If ‘a’ is ‘1’, the BSR is used to select the  
GPR bank (default).  
If ‘a’ is ‘0’ and the extended instruction  
set is enabled, this instruction operates  
in Indexed Literal Offset Addressing  
mode whenever f 95 (5Fh). See  
Section 22.2.3 “Byte-Oriented and  
Bit-Oriented Instructions in Indexed  
Literal Offset Mode” for details.  
Words:  
Cycles:  
1
2
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
Decode  
Read literal  
‘n’  
Process  
Data  
Write to PC  
No  
operation  
No  
operation  
No  
operation  
No  
operation  
Words:  
Cycles:  
1
1
Q Cycle Activity:  
Q1  
Example:  
HERE  
BRA Jump  
Q2  
Q3  
Q4  
Before Instruction  
Decode  
Read  
register ‘f’  
Process  
Data  
Write  
register ‘f’  
PC  
=
=
address (HERE)  
address (Jump)  
After Instruction  
PC  
Example:  
BSF  
FLAG_REG, 7, 1  
0Ah  
8Ah  
Before Instruction  
FLAG_REG  
After Instruction  
FLAG_REG  
=
=
© 2009 Microchip Technology Inc.  
DS39682E-page 261  
 复制成功!