You copied the Doc URL to your clipboard.
TST (immediate)
, setting the condition flags and discarding the result.
This instruction is an alias of ANDS
(immediate).
The equivalent instruction is ANDS WZR,
.Wn
, #imm
Syntax
TST
Wn
, #imm
; 32-bit
TST
Xn
, #imm
; 64-bit
Where:
Wn
- Is the 32-bit name of the general-purpose source register.
imm
- The bitmask immediate.
Xn
- Is the 64-bit name of the general-purpose source register.
Operation
, where R
n AND imm
is either R
W
or X
.