← Home

CFLTNZ

Compare and fault on nonzero

This instruction generates a Conditional fault exception if the register value is nonzero. If an exception is generated, the <reason> operand is copied to ESR_ELx.

This instruction does not affect the condition flags.

This is a pseudo-instruction of CFLT<cc> (immediate). This means:

Fault class

(FEAT_CFLT)

313029282726252423222120191817161514131211109876543210
sf1110110101000000000imm200000Rt
ccimm9himm9l

32-bit not equal encoding

(sf == 0)

CFLTNZ #<reason>, <Wt>

is equivalent to

CFLTNE #<reason>, <Wt>, #0

64-bit not equal encoding

(sf == 1)

CFLTNZ #<reason>, <Xt>

is equivalent to

CFLTNE #<reason>, <Xt>, #0

Assembler Symbols

<reason>

Is a 2-bit unsigned immediate, in the range 0 to 3, encoded in the "imm2" field.

<Wt>

Is the 32-bit name of the general-purpose register to be tested, encoded in the "Rt" field.

<Xt>

Is the 64-bit name of the general-purpose register to be tested, encoded in the "Rt" field.

Operation

The description of CFLT<cc> (immediate) gives the operational pseudocode for this instruction.


Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.