Rz version 3.6.1

Rz language explanation

This version target the output to S2 processor version 1.  The compiler outputs the S2 assembly language which can be converted to machine codes with S21 assembler (as21).  The output object file can be run with the simulator (sim21). 

Compile bubble.txt, put the output in bubble-s.txt

c:>rz36 bubble.txt > bubble-s.txt

Assemble bubble-s.txt.  The output is a machine code bubble-s.obj

c:>as21 bubble-s.txt

Run the object code with S23 simulator

c:>sim21 bubble-s.obj
load bubble-s.obj
>g
stop, execute 678 inst.
>o
54321
12345
>q

c:>

last update 19 Jan 2017