Skip to content

small program to convert Micro Assembly Language lines to binary microinstruction code for the Mic-1 and to hex for use in Logisim

License

Notifications You must be signed in to change notification settings

xor50/MALconverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MAL converter

This is a small program to convert Micro Assembly Language lines to binary microinstruction code (used by the Mic-1) and to hex for use in Logisim ROMs.

MAL and the Mic-1 both come from the book Structured Computer Organization by Andrew S. Tanenbaum.

Notes

How to use:

  1. Start and use via command line.
  2. Just enter correct MAL like MDR = TOS = MDR + H; wr; goto Main1. Don't forget or leave out NEXT_ADDRESS ( hex, Main1, or MBR).
  3. When you're done leave with exit.

Known issues:

maybe some tiny things, but mainly

  • possible crashes if you don't enter correct MAL (or exit command)

License

This project is under MIT license.
Nonetheless, if you do anything cool with it I'd love if you could reference the original project (this repo). Thanks!

About

small program to convert Micro Assembly Language lines to binary microinstruction code for the Mic-1 and to hex for use in Logisim

Topics

Resources

License

Stars

Watchers

Forks

Languages