A simple implementation of assembler for hack machine language in C++ Github: https://github.com/LevyHsu/Hack-Assembler See : http://www.nand2tetris.org/06.php Compile: g++ -g -std=c++11 -Wall -pedantic -o main.out *.cpp run: ./main.out test.asm will generate test.hack (with same name) Debug with extra info: ./main.out test.asm -v All the white spaces and comments are ignored (content after // in… Read more Hack machine Assembler
Month: June 2018
RV64I Instruction Set Simulator
RISC-V (pronounced “risk-five”) is an open, free ISA enabling a new era of processor innovation through open standard collaboration. Born in academia and research, RISC-V ISA delivers a new level of free, extensible software and hardware freedom on architecture, paving the way for the next 50 years of computing design and innovation. Github: … Read more RV64I Instruction Set Simulator