C.MOP.15

RISC-V C.MOP.15 Instruction Details

Instruction ManualC-type

Zcmop 16-bit C.MOP.15; by default it writes no register and may be redefined to read x15.

Instruction Syntax

c.mop.15
Operand Breakdown
Compressed instructions are 16 bits; registers are often limited to x8–x15.
Immediate fields are narrower. Refer to the full encoding for this compressed instruction.
ZcmopMay-Be-Operations

Instruction Encoding

15..0
0110011110000001

C-MOP-15 has fixed 16-bit encoding 0110011110000001; its assembly syntax has no explicit operands.

Format: Zcmop fixed 16-bit encoding
16-bit encoding: 0110011110000001
Compressed instruction, 16-bit encoding.

Instruction Behavior

C.MOP.15 is a Zcmop compressed may-be-operation. Its default official behavior writes no register; the encoding allows a future extension to redefine it as reading the implicit register x15. The recommended assembly syntax is the nullary c.mop.15. Zcmop depends on Zca.

Quick Understanding & Search Notes

C.MOP.15 is a nullary 16-bit MOP that by default changes no register state; it reserves compatible redefinition space for future extensions.

Zcmop defines only the eight odd-numbered C.MOP.n instructions from 1 through 15.
C.MOP.15 has fixed 16-bit encoding 0110011110000001; its recommended syntax is nullary, and a possible x15 read exists only under a future redefinition.
The default differs from Zimop MOP.R.n, which writes zero to rd.

Common Usage Scenarios

Zcmop MOP

Understand this scenario with real code like «c.mop.15».

Extension-defined

Understand this scenario with real code like «c.mop.15».

Pre-Use Checklist

Syntax Check
  • Verify that Zcmop and its Zca dependency are available; C.MOP.15 is the fixed nullary 16-bit encoding 0110011110000001.
Semantic Check
  • Confirm that the default behavior writes no register; do not treat the fixed fields as a current read of the implicit register.
  • Only a future extension that redefines this encoding may read its corresponding implicit x[n]; this page does not assume that extension behavior.

Pitfalls / Common Confusions

By default C.MOP.n writes no rd; this differs from Zimop MOP.R/MOP.RR, which write zero to rd.
Do not rely on useful C.MOP behavior in ordinary software unless a target extension explicitly redefines the encoding.
This encoding may be redefined by a future extension to read implicit register x15.

FAQ

Does C.MOP.15 write a register by default?

No. The official Zcmop rule says C.MOP.n writes no register by default.

What is the implicit register for C.MOP.15?

A future redefinition may read x15.