Skip to content

Velnbur/AsmVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsmVM

My lab work for Computing Systems Architecture(CSA) subject in my university. Also was made as a simple example of small Golang CLI tool

AsmVM - is a simple interpretation for nasm kind of files. Now it has eight registers from R1 to R8 and two operators for manipulating them mov and sub.

For example, mov R2, 2 will save 2 in R2 register. And sub R3, 1 will subtract value in R3 and 1. Result of sub saves in accumulator register - R1. You can use example.asm as a remainder

Prerequisites

  • golang >=1.17.2

Build and Install

Clone repository:

$ git clone git@github.com:Velnbur/AsmVM.git

Go to src dir:

$ cd AsmVM/src/

Build:

$ go build -o iasm

Use:

$ ./iasm <path_to_file>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published