Mock ASM Runtime

⛔ [DEPRECATED] in favour of https://github.com/yamini-vm/yamini.

A simple assembler for a mock instruction set along with a runtime to run the resulting code.

Installation

user@programmer~:$ pip install git+https://github.com/frankhart2018/mockasm-runtime.git

Note:- I do not plan in pushing this to pypi anytime soon (or maybe ever).

Usage

user@programmer~:$ mockasm --file_path test.s

Debugging

Generate tokens

user@programmer~:$ mockasm --file_path test.s --tokens

Generate opcodes

user@programmer~:$ mockasm --file_path test.s --opcodes

Generate both tokens and opcodes

user@programmer~:$ mockasm --file_path test.s --tokens --opcodes

Note:- The order in which you specify the flags (--tokens, --opcodes) does not matter.