Syntax: |
Operation: |
Operands: |
Program Counter: |
Opcode |
Comment |
Stack |
BST Rd,b |
T = Rd(b) |
0 <= d <= 31, 0 <= b <= 7 |
PC = PC + 1 |
1111101ddddd0bbb |
Stores bit b from Rd to the T bit in SREG (Status Register).
I |
– |
||
T |
⇔ |
‘0' if bit b in Rd is cleared. Set to ‘1' otherwise. |
|
H |
– |
||
S |
– |
||
V |
– |
||
N |
– |
||
Z |
– |
||
C |
– |
; Copy bit bst r1,2 ; Store bit 2 of r1 in T bit bld r0,4 ; Load T into bit 4 of r0
1 (2 bytes)
Name |
Cycles |
AVRe |
1 |
AVRxm |
1 |
AVRxt |
1 |
AVRrc |
1 |