SAM3SD8B Atmel Corporation, SAM3SD8B Datasheet - Page 78

no-image

SAM3SD8B

Manufacturer Part Number
SAM3SD8B
Description
Manufacturer
Atmel Corporation
Datasheets
10.9
78
78
Intrinsic functions
SAM3S8/SD8
SAM3S8/SD8
Table 10-13. Cortex-M3 instructions (Continued)
ANSI cannot directly access some Cortex-M3 instructions. This section describes intrinsic func-
tions 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, you might have to
use inline assembler to access some instructions.
The CMSIS provides the following intrinsic functions to generate instructions that ANSI cannot
directly access:
Table 10-14. CMSIS intrinsic functions to generate some Cortex-M3 instructions
Mnemonic
TEQ
TST
UBFX
UDIV
UMLAL
UMULL
USAT
UXTB
UXTH
WFE
WFI
Instruction
CPSIE I
CPSID I
CPSIE F
CPSID F
ISB
DSB
DMB
REV
REV16
REVSH
RBIT
SEV
WFE
WFI
Operands
Rn, Op2
Rn, Op2
Rd, Rn, #lsb, #width
{Rd,} Rn, Rm
RdLo, RdHi, Rn, Rm
RdLo, RdHi, Rn, Rm
Rd, #n, Rm {,shift #s}
{Rd,} Rm {,ROR #n}
{Rd,} Rm {,ROR #n}
-
-
CMSIS intrinsic function
void __enable_irq(void)
void __disable_irq(void)
void __enable_fault_irq(void)
void __disable_fault_irq(void)
void __ISB(void)
void __DSB(void)
void __DMB(void)
uint32_t __REV(uint32_t int value)
uint32_t __REV16(uint32_t int value)
uint32_t __REVSH(uint32_t int value)
uint32_t __RBIT(uint32_t int value)
void __SEV(void)
void __WFE(void)
void __WFI(void)
Brief description
Test Equivalence
Test
Unsigned Bit Field Extract
Unsigned Divide
Unsigned Multiply with Accumulate
(32 x 32 + 64), 64-bit result
Unsigned Multiply (32 x 32), 64-bit
result
Unsigned Saturate
Zero extend a byte
Zero extend a halfword
Wait For Event
Wait For Interrupt
Flags
-
-
-
-
Q
-
-
-
-
N,Z,C
N,Z,C
11090A–ATARM–10-Feb-12
11090A–ATARM–10-Feb-12
Page
page 118
page 118
page 127
page 122
page 121
page 121
page 123
page 128
page 128
page 148
page 149

Related parts for SAM3SD8B