Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||||||
1 |
tst Rd, Rs |
Rd AND Rs; |
{d,s} ∈ {0, 1, …, 15} |
Rev1+ |
|
Test register. Used to check if a subset of a register includes one or more set bits. No writeback of the result is performed, but the flags are set.
Q: |
Not affected |
V: |
Not affected |
N: |
N = RES[31] |
Z: |
Z = (RES[31:0] == 0) |
C: |
Not affected |