Skip to content
/ disa Public

A compiler written in C to compile C code into RV32I Assembly

Notifications You must be signed in to change notification settings

Slummo/disa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disa

disa is a simple C to RV32I assembly code compiler.

Project Structure

  • input/
    Contains example .c source files that can be compiled.

  • src/
    Contains the core implementation.

  • test/
    Contains the testing suite, including test runners and individual test files to verify various functionalities.

Usage

  1. Build the compiler

    make
  2. Run the compiler

    Use the run target with the ARGS variable to specify the input C file you want to compile

    make run ARGS="your_file.c"

    This will run the compiler on input/your_file.c.

About

A compiler written in C to compile C code into RV32I Assembly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published