This is the S2 assembler and simulator (as21, sim21) for Mac. It is
written in Python.
How to use it.
1) unzip the package to your directory.
2) You run 'terminal', change to that directory. (it is mostly in
Launchpad, Other directory)
3) inside mypython directory, there are as21.py. and sim21.py.
You run Python interpreter this way:
3.1. > python3 as21.py
it will
prompt with the request for input file name. You type atoz.txt
(an example of S2 assembly)
then it will
produce atoz.obj
which is used to run in the simulator
3.2. you run the simulator by:
> python3 sim21.py
it will prompt with the
request for input object file. You type atoz.obj
(just
produced by the step 3.1)
then you are ready in the
simulator environment.
last update 27 Feb 2021