85
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
11.6.2
CMSIS Functions
ISO/IEC cannot directly access some Cortex-M4 instructions. This section describes intrinsic
functions that can generate these instructions, provided by the CMIS and that might be provided
by a C compiler. If a C compiler does not support an appropriate intrinsic function, the user might
have to use inline assembler to access some instructions.
UHSUB16
{Rd,} Rn, Rm
Unsigned Halving Subtract 16
-
UHSUB8
{Rd,} Rn, Rm
Unsigned Halving Subtract 8
-
UBFX
Rd, Rn, #lsb, #width
Unsigned Bit Field Extract
-
UDIV
{Rd,} Rn, Rm
Unsigned Divide
-
UMAAL
RdLo, RdHi, Rn, Rm
Unsigned Multiply Accumulate Accumulate Long (32 x 32 + 32 +32),
64-bit result
-
UMLAL
RdLo, RdHi, Rn, Rm
Unsigned Multiply with Accumulate
(32 x 32 + 64), 64-bit result
-
UMULL
RdLo, RdHi, Rn, Rm
Unsigned Multiply (32 x 32), 64-bit result
-
UQADD16
{Rd,} Rn, Rm
Unsigned Saturating Add 16
-
UQADD8
{Rd,} Rn, Rm
Unsigned Saturating Add 8
-
UQASX
{Rd,} Rn, Rm
Unsigned Saturating Add and Subtract with Exchange
-
UQSAX
{Rd,} Rn, Rm
Unsigned Saturating Subtract and Add with Exchange
-
UQSUB16
{Rd,} Rn, Rm
Unsigned Saturating Subtract 16
-
UQSUB8
{Rd,} Rn, Rm
Unsigned Saturating Subtract 8
-
USAD8
{Rd,} Rn, Rm
Unsigned Sum of Absolute Differences
-
USADA8
{Rd,} Rn, Rm, Ra
Unsigned Sum of Absolute Differences and Accumulate
-
USAT
Rd, #n, Rm {,shift #s}
Unsigned Saturate
Q
USAT16
Rd, #n, Rm
Unsigned Saturate 16
Q
UASX
{Rd,} Rn, Rm
Unsigned Add and Subtract with Exchange
GE
USUB16
{Rd,} Rn, Rm
Unsigned Subtract 16
GE
USUB8
{Rd,} Rn, Rm
Unsigned Subtract 8
GE
UXTAB
{Rd,} Rn, Rm,{,ROR #}
Rotate, extend 8 bits to 32 and Add
-
UXTAB16
{Rd,} Rn, Rm,{,ROR #}
Rotate, dual extend 8 bits to 16 and Add
-
UXTAH
{Rd,} Rn, Rm,{,ROR #}
Rotate, unsigned extend and Add Halfword
-
UXTB
{Rd,} Rm {,ROR #n}
Zero extend a byte
-
UXTB16
{Rd,} Rm {,ROR #n}
Unsigned Extend Byte 16
-
UXTH
{Rd,} Rm {,ROR #n}
Zero extend a halfword
-
WFE
-
Wait For Event
-
WFI
-
Wait For Interrupt
-
Table 11-13. Cortex-M4 Instructions (Continued)
Mnemonic
Operands
Description
Flags
Содержание SAM4S Series
Страница 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1142: ...1142 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 3 100 ball VFBGA Package Drawing ...
Страница 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Страница 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...