Skip to content

JorgeTerence/shinzou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shinzou Assembler

What is this?

This project is an assembler simulating the IAS Machine. I learned about it in a class on computer architecture and decided to take on a challenge.

How to run

shinzou run finnish.asm
# or
shinzou compile finnish.asm -o ancient_sumerian.bin
shinzou run ancient_sumerian.bin

For the future

  • Add a custom directive to output the whole state of memory at runtime, sort of like debugging.
  • Show a web visualization for the working machine and its components.

Updated command sheet

While the IAS spec has an I/O module, it does not list a right API for accessing it - at least I didn't find it. I used for reference this document from Unicamp. As this is my project, I will be adding brand new instructions:

Representation Code Description
OUT M(X) 10000001 Outputs the contents of the memory address of X to the I/O stream
CHAR M(X) 10000010 Outputs the contents of the memory address of X as ASCII to the I/O stream

Releases

No releases published

Packages

No packages published