Skip to content

jamesladd/rasmataz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RASMATAZ - An Assembler Front End (Driver) / Architecture Neutral Assembler

This is an experiement in using Ruby's DSL abilities to make an assembler, the goal of which
is to see how little code is needed given what Ruby does 'out-of-the-box'.

I intend to make use of this project at some point to create an assembler for a virtual machine
and language I plan to make. It does a few things right now, but mostly it shows the neat features
of Ruby for makeing DSL's.


This is not a copy of Wilson, it is more like a MASM. 
http://blog.zenspider.com/2009/06/wilson-version-111-has-been-re.html


To play with rasmataz:

load 

   irb
   > load 'example.rasm', nil

dump registers

   > registers

dump stack

   > stack

dump memory

   > memory

dump labels

   > labels

step 
   
   Will step on instruction at a time, and show result.   

run program

  > go  

You can also just run the entire program from the command line with "ruby example.rasm"
but I like the interactive mode.

About

Assembler front end / Architecture neutral Assembler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages