Webcentive RISC-V Reference

mop.r.26

May-be-operation 26 (1 source register)

Extension
Zimop
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
mop.r.26 xd, xs1
Length
32-bit

Encoding

listed in riscv-opcodes as a pseudo-op of mop.r.N

31302928272625222120191514121176210
110010011110rs1100rd1110011

Match 0xc9e04073, mask 0xfff0707f. Source: $pseudo_op rv_zimop::mop.r.N mop.r.26 rd rs1 30=1 27=1 26=0 21=1 20=0 31=1 29..28=0 25..22=7 14..12=4 6..2=0x1C 1..0=3 in riscv-opcodes/extensions/rv_zimop.

FieldBitsriscv-opcodes name
rs119:15rs1
rd11:7rd

Description

Unless redefined by another extension, this instruction simply writes 0 to X[xd]. The encoding allows future extensions to define it to read X[xs1], as well as write X[xd].

This is mop.r.26 from the MOP.R instruction family (n=26).

Description from riscv-unified-db, reformatted.

Operation

X[xd] = 0;

Pseudocode in riscv-unified-db’s IDL, quoted unchanged.

Specification and related pages