Skip to content

The decoder library for jemu execution and web documentation

License

Notifications You must be signed in to change notification settings

x402/jemu-decoder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Js.Emu Decoder Library

This library includes structured raw data of ISA related specs.

The data will be needed to either generate runtime core of JEMU (cpu emulator) or to auto-generate a wiki site.

Contributors wanted!

We are looking for coordinators for this project. Any amount and any form of contributions are welcomed.

Please take a look at contribution guide to get started.

Project Structure

  • /arch

    The core directory containing the definitions of all instructions. See instruction definition and instruction documentation format.

  • /lib

    Common utilities and dependencies.

  • /scripts

    Scripts used to build the decoder and parser.

  • /targets

    Manifests declaring which instruction(s) to be included for a specific build.

  • /web

    A magical sub-project converting the project into a handy manual website. The decoder and parser we built in the parent project will be imbedded into its runtime core, enabling search and decode of binary instruction codes.

Build for web

  1. Build the decoder

    # Run at project root
    jemu-decoder > npm run build
  2. Preview webpages

    # Run at web folder
    jemu-decoder/web > npm run dev
  3. Build and deploy (ysyx stuff with certain privileges only)

    To build for web only (without deploying)

    # Run at web folder (build)
    jemu-decoder/web > npm run build

    To build and deploy (with privileged account)

    # Run at web folder
    jemu-decoder/web > npm run deploy

About

The decoder library for jemu execution and web documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 60.2%
  • JavaScript 37.9%
  • HTML 1.9%