Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||||||
1 |
mems imm, bp5 |
*(SE(imm15<<2)[bp5]) = 1 |
bp5 ∈ {0, 1, …, 31} imm ∈ {-65536, -65532,…, 65532} |
Rev1+ |
|
Performs a read-modify-write operation to set an arbitrary bit in memory. The word to modify is pointed to by a signed 17-bit address. This allows the instruction to address the upper 64KB and lower 64KB of mem- ory. This instruction is part of the optional RMW instruction set.
Q: |
Not affected. |
V: |
Not affected. |
N: |
Not affected. |
Z: |
Not affected. |
C: |
Not affected. |