SAM3S8C Atmel Corporation, SAM3S8C Datasheet - Page 112

no-image

SAM3S8C

Manufacturer Part Number
SAM3S8C
Description
Manufacturer
Atmel Corporation
Datasheets
10.12.4
10.12.4.1
10.12.4.2
10.12.4.3
10.12.4.4
10.12.4.5
112
112
CLZ
CLZNE
SAM3S8/SD8
SAM3S8/SD8
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
11090A–ATARM–10-Feb-12
11090A–ATARM–10-Feb-12
84.

Related parts for SAM3S8C