This instruction tests the value in a register against
It updates the condition flags on the result, but does not place
the result in any register.
TST instruction performs a bitwise AND operation
on the value in
the value of
This is the same as an
ANDS instruction, except that
the result is discarded.
In this Thumb instruction, you cannot use SP or PC for
In this ARM instruction, use of SP or PC is deprecated in ARMv6T2 and above.
For ARM instructions:
if you use PC (
, the value used is the address of the instruction plus 8
you cannot use PC for any operand in any data processing instruction that has a register-controlled shift.