Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 470 Bytes

README.md

File metadata and controls

21 lines (21 loc) · 470 Bytes

Simple translator from C to ASM(assembly)

Final project in System-software class

image

Build JAR PACKAGE

(in ./sys-software-c2asm)

  1. Compile .java file
$ javac -d ./bin ./src/*.java
  1. Build a .jar package
$ jar cvf [target.jar] -C bin/ .
  1. Update manifest file
$ jar uvfm [target.jar] manifest.mf

Usage

java -jar [target.jar] [source.c] [output.asm]