links in readme
zero comilation
readme
Compile description of URM to Z80 assembly.
Written in POSIX AWK.
a program consists of a set of initializations followed by a list of instructions
1=3
4=1
2=123
S(1)
T(4,2)
Z(3)
J(1,4,2)
<digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
<nat> ::= <digit>
| <nat> <digit>
<assign> ::= <nat>=<nat>
<init> ::= <assign>
| <init> <assign>
<instruction> ::= Z(<nat>)
| S(<nat>)
| T(<nat>, <nat>)
| J(<nat>, <nat>, <nat>)
<instructions> ::= <instruction>
| <instructions> <instruction>
<program> ::= <init> <instructions>
See add.urm
1=3
2=5
J(3,2,5)
S(1)
S(3)
J(1,1,1)
Assembled Z80 machine code is testable with jemu