Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||||||
1 |
memt imm, bp5 |
*(SE(imm15<<2)[bp5]) = ~*(SE(k15<<2)[bp5]) |
bp5 ∈ {0, 1, …, 31} imm ∈ {-65536, -65532,…, 65532} |
Rev1+ |
|
Performs a read-modify-write operation to toggle 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 memory. 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. |