1
ISA:RV32I
Lines:1
Ready

R-type

R-type
add rd, rs1, rs2
# Description
rd = rs1 + rs2
R-type
sub rd, rs1, rs2
# Description
rd = rs1 - rs2

I-type

I-type
addi rd, rs1, imm
# Description
rd = rs1 + imm
Getting Started with
0xRVENC0xRV\boxed{\text{ENC}}
A modern RISC-V instruction encoder for both single instructions and complete assembly files. Follow this guide to unlock its full potential.
01

ISA Selection

Choose your target architecture using the toggle buttons:
RV32IRV64I
02

Writing Instructions

Two ways to input your RISC-V assembly:

Direct Input

Use the built-in editor on the left with line number support for direct coding

Instruction Browser

Search and insert pre-formatted instructions from the library on the bottom right

03

Encoding Options

Choose your preferred encoding mode:

Auto-encode

Real-time encoding as you type

Manual encode

Encode on demand

04

Output Visualization

Multiple ways to view your encoded instructions:

Machine Code

0x00A02223

Binary

00000000101000000010001000100011

Interactive Diagram

Hover to explore instruction fields