risc-v

Definition

Instruction (RISC-V)

An instruction is a machine-level operation encoded as a binary word.

In the base RISC-V ISA, standard instructions are 32 bits wide. The compressed extension adds 16-bit compressed instructions.

Formats

RISC-V uses six standard 32-bit instruction formats:

Each format arranges the opcode, register fields, and immediate bits differently.

Compressed Instructions

Definition

Compressed Instruction (RISC-V)

A compressed instruction is a 16-bit RISC-V instruction encoding.

It is part of the compressed extension and represents a common operation in a shorter form than the standard 32-bit instruction. Compressed mnemonics are commonly prefixed with c..

Link to original

List