Professional Documents
Culture Documents
{Rd,} Rn, Rm
{Rd,} Rn, <Rm|#imm>
Rn, Rm, #0
{Rd,} Rn, Rm
{Rd,} Rn, <Rm|#imm>
TST
Test bits.
Syntax TST Rn, Rm
Where:
Rn is the register holding the first operand
Rm the register to test against
Restrictions
Rn and Rm must only specify R0-R7
Condition flags
Updates the N and Z flags according to the result
Does not affect the C or V flags.