参数资料
型号: EFM32-TG-STK3300
厂商: Energy Micro
文件页数: 91/136页
文件大小: 0K
描述: KIT STARTER EFM32 GECKO
特色产品: EFM32 Tiny Gecko
标准包装: 1
系列: EFM®32
类型: MCU
适用于相关产品: EFM32-TGXXX
所含物品: 板,线缆,CD 和文档
其它名称: 914-1018
...the world's most energy friendly microcontrollers
2011-02-04 - d0002_Rev1.00
58
www.energymicro.com
The SBC instruction subtracts the value of Operand2 from the value in Rn. If the carry flag is clear, the
result is reduced by one.
The RSB instruction subtracts the value in Rn from the value of Operand2. This is useful because of
the wide range of options for Operand2.
Use ADC and SBC to synthesize multiword arithmetic, see Section 3.5.1.6 (p. 59) .
Note
ADDW
is equivalent to the ADD syntax that uses the imm12 operand. SUBW is equivalent to
the SUB syntax that uses the imm12 operand.
3.5.1.3 Restrictions
In these instructions:
Operand2 must not be SP and must not be PC
Rd can be SP only in ADD and SUB, and only with the additional restrictions:
Rn must also be SP
any shift in Operand2 must be limited to a maximum of 3 bits using LSL
Rn can be SP only in ADD and SUB
Rd can be PC only in the ADD{cond} PC, PC, Rm instruction where:
you must not specify the S suffix
Rm must not be PC and must not be SP
if the instruction is conditional, it must be the last instruction in the IT block
with the exception of the ADD{cond} PC, PC, Rm instruction, Rn can be PC only in ADD and SUB,
and only with the additional restrictions:
you must not specify the S suffix
the second operand must be a constant in the range 0 to 4095.
Note
When using the PC for an addition or a subtraction, bits[1:0] of the PC are rounded
to b00 before performing the calculation, making the base address for the calculation
word-aligned.
If you want to generate the address of an instruction, you have to adjust the constant
based on the value of the PC. ARM recommends that you use the ADR instruction
instead of ADD or SUB with Rn equal to the PC, because your assembler automatically
calculates the correct constant for the ADR instruction.
When Rd is PC in the ADD{cond} PC, PC, Rm instruction:
bit[0] of the value written to the PC is ignored
a branch occurs to the address created by forcing bit[0] of that value to 0.
3.5.1.4 Condition flags
If S is specified, these instructions update the N, Z, C and V flags according to the result.
3.5.1.5 Examples
ADD
R2, R1, R3
SUBS
R8, R6, #240
; Sets the flags on the result
RSB
R4, R4, #1280
; Subtracts contents of R4 from 1280
ADCHI
R11, R0, R3
; Only executed if C flag set and Z
; flag clear
相关PDF资料
PDF描述
HSC08DRYH-S13 CONN EDGECARD 16POS .100 EXTEND
TH3D336M016A0600 CAP TANT 33UF 16V 20% 2917
GBA18DTKT-S288 CONN EDGECARD 36POS .125 EXTEND
RSM03DRKN CONN EDGECARD 6POS DIP .156 SLD
GBA22DRMI-S288 CONN EDGECARD 44POS .125 EXTEND
相关代理商/技术参数
参数描述
EFM32TG-STK3300 制造商:Energy Micro AS 功能描述:STARTER KIT STK3300 TINY GEC 制造商:Energy Micro AS 功能描述:STARTER KIT, STK3300, TINY GECKO; Silicon Manufacturer:Energy Micro; Core Architecture:ARM; Core Sub-Architecture:Cortex-M3; Silicon Core Number:EFM32TG840; Silicon Family Name:EFM32; Kit Contents:Starter Kit EFM32TG840; SVHC:No SVHC;RoHS Compliant: Yes
EFM32WG230F128 功能描述:ARM微控制器 - MCU 128kb flash 32kb RAM RoHS:否 制造商:STMicroelectronics 核心:ARM Cortex M4F 处理器系列:STM32F373xx 数据总线宽度:32 bit 最大时钟频率:72 MHz 程序存储器大小:256 KB 数据 RAM 大小:32 KB 片上 ADC:Yes 工作电源电压:1.65 V to 3.6 V, 2 V to 3.6 V, 2.2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LQFP-48 安装风格:SMD/SMT
EFM32WG230F128-QFN64 制造商:Energy Micro AS 功能描述:32 BIT ARM MPU, WONDER GECKO - Tape and Reel 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64QFN
EFM32WG230F128-QFN64T 制造商:Energy Micro AS 功能描述:WONDER GECKO 32 BIT ARM CORTEX MCU - Trays
EFM32WG230F128-QFN64-T 制造商:Energy Micro AS 功能描述:IC MCU 32BIT 128KB FLASH 64QFN