2.6.5.9.4 Condition Flags
These instructions:
- update the N and Z flags according to the result
- can update the C flag during the calculation of Operand2, see 2.6.3.3 Flexible Second Operand
- do not affect the V flag.
Examples
TST R0, #0x3F8 ; Perform bitwise AND of R0 value to 0x3F8,
; APSR is updated but result is discarded
TEQEQ R10, R9 ; Conditionally test if value in R10 is equal to
; value in R9, APSR is updated but result is discarded.