Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>rvcodec.jsNew to Visual Studio Code? Get it now.
rvcodec.js

rvcodec.js

hankhsu1996

|
16 installs
| (0) | Free
RISC-V instruction encoder/decoder
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RISC-V Instruction Encoder/Decoder for VSCode

Instantly encode RISC-V assembly instructions and decode hexadecimal machine code right in your editor! Perfect for RISC-V development, education, debugging, or anyone working with RISC-V instructions.

Features

⚡ Quick Command

Select text and right-click (or use command palette) to show instruction details:

  • For hex values: Shows the decoded assembly instruction
  • For assembly: Shows the encoded hex value Results appear in the output panel with detailed information.

💡 Inline Decoding (Off by default)

See assembly instructions next to hex values in real-time. Skips commented lines and supports all hex formats. Enable via rvcodec-js.enableInlineDecoding.

🔍 Hover to Decode (Off by default)

Hover over hex values to see assembly instruction, format, and ISA details. Supports standard hex and SystemVerilog formats. Enable via rvcodec-js.enableHover.

Settings

  • rvcodec-js.enableInlineDecoding: Enable/disable inline assembly decoding (default: false)
  • rvcodec-js.enableHover: Enable/disable instruction decoding on hover (default: false)
  • rvcodec-js.useAbiNames: Use ABI names (a0, sp) instead of numeric (x10, x2) (default: false)

Installation

  1. Open VSCode
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "RISC-V Encoder/Decoder"
  4. Click Install

License

This project is licensed under GNU Affero General Public License v3 - see the LICENSE file for details.

Credits

  • Built with rvcodecjs by LupLab (GNU AGPL v3)
  • Icon from Flaticon by Freepik

Contributing

Found a bug or have a suggestion? Please open an issue on GitHub!


Made with ❤️ for the RISC-V community. Happy coding!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft