I | T | H | S | V | N | Z | C |
– | – | – | ⇔ | 0 | ⇔ | ⇔ | – |
0
Cleared.
R7
Set if MSB of the result is set; cleared otherwise.
R7 • R6 • R5 • R4 • R3 • R2 • R1 • R0
Set if the result is $00; cleared otherwise.
R (Result) equals Rd after the operation.
Example:
or r15,r16 ; Do bitwise or between registers
bst r15,6 ; Store bit 6 of r15 in T Flag
brts ok ; Branch if T Flag set
...
ok: nop ; Branch destination (do nothing)