Syntax: |
Operation: |
Operands: |
Program Counter: |
Opcode |
Comment |
Stack |
BSET s |
SREG(s) = 1 |
0 <= s <= 7 |
PC = PC + 1 |
100101000sss1000 |
Sets a single flag or bit in SREG.
I |
⇔ |
If (s == 7) then I = 1, else unchanged. |
|
T |
⇔ |
If (s == 6) then T = 1, else unchanged. |
|
H |
⇔ |
If (s == 5) then H = 1, else unchanged. |
|
S |
⇔ |
If (s == 4) then S = 1, else unchanged. |
|
V |
⇔ |
If (s == 3) then V = 1, else unchanged. |
|
N |
⇔ |
If (s == 2) then N = 1, else unchanged. |
|
Z |
⇔ |
If (s == 1) then Z = 1, else unchanged. |
|
C |
⇔ |
If (s == 0) then C = 1, else unchanged. |
bset 6 ; Set T bit bset 7 ; Enable interrupt
1 (2 bytes)
Name |
Cycles |
AVRe |
1 |
AVRxm |
1 |
AVRxt |
1 |
AVRrc |
1 |