Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||||||||
|
1 |
stcond Rp[disp], Rs |
SREG[Z] = SREG[L];
If SREG[L]
*(Rp + SE(disp16)) = Rs; |
{s , p} ∈ {0, 1, …, 15}
disp ∈ {-32768, -32767, ..., 32767} |
Rev1+ |
|
The source register is stored to the word memory location referred to by the pointer address if SREG[L] is set. Also, SREG[L] is copied to SREG[Z] to indicate a success or failure of the oper- ation. This instruction is used for atomical memory access.
|
Q: |
Not affected. |
|
V: |
Not affected. |
|
N: |
Not affected. |
|
Z: |
SREG[Z] = SREG[L]. |
|
C: |
Not affected. |