Operations:

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+

111110000001

bp5[4:1]

b5[0]

imm15

12

4

1

15

Description

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.

Status Flags:

Q:

Not affected.

V:

Not affected.

N:

Not affected.

Z:

Not affected.

C:

Not affected.