mop.rr.1

May-be-operation 1 (2 source registers)

The Zimop extension defines 8 MOP instructions named MOP.RR.n, where n is an integer between 0 and 7, inclusive. Unless redefined by another extension, this instruction simply writes 0 to X[xd]. Its encoding allows future extensions to define it to read X[xs1] and X[xs2], as well as write X[xd].

This is mop.rr.1 from the MOP.RR instruction family (n=1).

Assembly format

mop.rr.1 xd, xs1, xs2

Decode Variables

Bits<5> xs2 = $encoding[24:20];
Bits<5> xs1 = $encoding[19:15];
Bits<5> xd = $encoding[11:7];

Execution

X[xd] = 0;

Encoding

svg

Defining extension

Access

M

Always

Containing profiles

  • Mandatory: RVA23S64, RVA23U64, RVB23S64, RVB23U64

  • Optional: None