EFM32-TG-STK3300 Energy Micro, EFM32-TG-STK3300 Datasheet - Page 44

MCU, MPU & DSP Development Tools TG Starter Kit

EFM32-TG-STK3300

Manufacturer Part Number
EFM32-TG-STK3300
Description
MCU, MPU & DSP Development Tools TG Starter Kit
Manufacturer
Energy Micro
Series
EFM®32r
Type
MCUr

Specifications of EFM32-TG-STK3300

Processor To Be Evaluated
EFM32
Processor Series
EMF32 Tiny Gecko
Data Bus Width
32 bit
Interface Type
USB, JTAG, LCD, Touch Interface
Operating Supply Voltage
5 V
Contents
Board, Cable, CD and Documentation
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
EFM32-TGXXX

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EFM32-TG-STK3300
Manufacturer:
EnergyMi
Quantity:
11
3.3.7.2 Condition code suffixes
2011-02-04 - d0002_Rev1.00
• if the result of an addition is greater than or equal to 2
• if the result of a subtraction is positive or zero
• as the result of an inline barrel shifter operation in a move or logical instruction.
Overflow occurs if the result of an add, subtract, or compare is greater than or equal to 2
than –2
Note
The instructions that can be conditional have an optional condition code, shown in syntax descriptions
as {cond}. Conditional execution requires a preceding IT instruction. An instruction with a condition
code is only executed if the condition code flags in the APSR meet the specified condition. Table 3.4 (p.
44) shows the condition codes to use.
You can use conditional execution with the IT instruction to reduce the number of branch instructions
in code.
Table 3.4 (p. 44) also shows the relationship between condition code suffixes and the N, Z, C, and
V flags.
Table 3.4. Condition code suffixes
Example 3.1 (p. 44) shows the use of a conditional instruction to find the absolute value of a number.
R0 = ABS(R1).
Example 3.1. Absolute value
Suffix
EQ
NE
CS or
HS
CC or
LO
MI
PL
VS
VC
HI
LS
GE
LT
GT
LE
AL
MOVS
IT
RSBMI
31
.
Flags
Z = 1
Z = 0
C = 1
C = 0
N = 1
N = 0
V = 1
V = 0
C = 1 and Z = 0
C = 0 or Z = 1
N = V
N != V
Z = 0 and N = V
Z = 1 and N != V
Can have any value
Most instructions update the status flags only if the S suffix is specified. See the instruction
descriptions for more information.
R0, R1
MI
R0, R1, #0
Meaning
Equal
Not equal
Higher or same, unsigned #
Lower, unsigned <
Negative
Positive or zero
Overflow
No overflow
Higher, unsigned >
Lower or same, unsigned #
Greater than or equal, signed #
Less than, signed <
Greater than, signed >
Less than or equal, signed #
Always. This is the default when no suffix is specified.
; R0 = R1, setting flags
; IT instruction for the negative condition
; If negative, R0 = -R1
...the world's most energy friendly microcontrollers
44
32
www.energymicro.com
31
, or less

Related parts for EFM32-TG-STK3300