SAM3N0B Atmel Corporation, SAM3N0B Datasheet - Page 112

no-image

SAM3N0B

Manufacturer Part Number
SAM3N0B
Description
Manufacturer
Atmel Corporation
Datasheets
10.13.4
10.13.4.1
10.13.4.2
10.13.4.3
10.13.4.4
10.13.4.5
112
CLZ
CLZNE
SAM3N
CLZ
Syntax
Operation
Restrictions
Condition flags
Examples
R4,R9
R2,R3
Count Leading Zeros.
where:
cond
Rd
Rm
The CLZ instruction counts the number of leading zeros in the value in Rm and returns the result
in Rd. The result value is 32 if no bits are set in the source register, and zero if bit[31] is set.
Do not use SP and do not use PC.
This instruction does not change the flags.
CLZ{cond} Rd, Rm
is an optional condition code, see
is the destination register.
is the operand register.
“Conditional execution” on page
11011A–ATARM–04-Oct-10
84.

Related parts for SAM3N0B