This directory contains the **w11 test codes**. The _tcodes_ are MACRO-11 stand-alone codes. They are meant for verification and not as diagnostic tool: - in case of success, they stop on a `halt` at 2000, thus with PC=002002 - in case of error, they `halt` at the point of the failed check The codes can be executed - in a w11 GHDL simulation, usually via a `ti_w11 -c7 -w -e ` - with SimH, usually via a `load `, `dep pc 200`, `cont` - with `E11`, usually via a `mount pr: `, `boot pr:` The codes use the `SYSID` register to detect the execution environment, see [usage of `SYSID` register](../../doc/w11a_diff_70_sysid_usage.md). A [Makefile](Makefile) is provided with the targets ``` make alllda all .lda + .lst files make alllst all .lst files make allexp all exp.mac export files make alltsim all SimH tests make allte11 all E11 tests make alltw11 all w11 GHDL simulation tests make .lda compile, create .lda + .lst make .lst compile, create .lst make .exp.mac compile with -E make .tsim run on SimH simulator make .te11 run on E11 simulator make .tw11 run on w11 GHDL simulation (for C7) ``` The `Makefile` starts the codes with `SYSID` settings constent with the execution environment.