This is a SIC/XE assembler written in JavaScript. It performs two passes over the input file, first to generate the symbol table and then to generate the object program. It also generates a solution file that contains the symbol table and the object program.
SIC-XE stands for Simplified Instructional Computer Extra Equipment, and is a hypothetical computer system. It is commonly used for instructional use and teaching, and is primarily used and talked about in the textbook, System Software: An Introduction to Systems Programming, by Leland Beck.
- Place all base input files in the ./input folder
- Run the respective binary for the machine you are using (jsicvm-linux, jsicvm-mac, jsicvm-win.exe)
- The output files will be in the ./output folder with the same name as the input file, but with _sol for the solution file and _obj for the object program file
- Install Node.js (https://nodejs.org/en/)
- Run
npm install
in the root folder - Run
npm run build
in the root folder - The binaries will be outputted