A simple assembler written in Golang to process
.asm
files and generate corresponding.hack
files.
- Download from official website.
- Verify installation:
go version
- Run without building
go run main.go "filename"
Takes "path/filename.asm" --> generate "path/filename.hack"
- Build the assembler:
go build -o assembler
run via build:
./assembler "filename"