mop.rr.2

May-be-operation 2 (2 source registers)

This instruction is defined by:

Encoding

svg

Synopsis

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.2 from the MOP.RR instruction family (n=2).

Access

M HS U VS VU

Always

Always

Always

Always

Always

Decode Variables

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

Execution

  • Pruned, XLEN == 64

  • Original

X[xd] = 0;
X[xd] = 0;