Skip to content

An assembler for the X-TOY imaginary machine from Princeton

License

Notifications You must be signed in to change notification settings

EthanDenny/x-toy-assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-toy-assembler

An assembler for the X-TOY machine from Princeton in C++.

grammar.md defines the ARM-like assembly language

The TOY machine uses *.toy as its file extension. This assembler take in *.atoy (assembly for TOY) files, and outputs *.toy files.

Princeton's implementation is written in Java and doesn't work with a terminal. Try this instead.

Documentation for X-TOY machine code can be found here.

Using the assembler

  1. Compile with "make"
  2. Run with "./build/main.exe [input file] [output file]"
  3. Input files should have the extension "*.atoy", output files should have the extension "*.toy"

About

An assembler for the X-TOY imaginary machine from Princeton

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published