Cleaned up the MACRO-10 assembly demos
This commit is contained in:
parent
1b0e01c66a
commit
eed6e990e3
6 changed files with 30 additions and 10 deletions
|
|
@ -13,6 +13,8 @@ machines:
|
|||
PDPjs MACRO-10 Mini-Assembler Tests
|
||||
-----------------------------------
|
||||
|
||||
### Nested Macro Test
|
||||
|
||||
The PDP-10 machine below automatically loads and assembles [TEXT.MAC](TEXT.MAC.txt), one of the
|
||||
first tests of the built-in PDPjs MACRO-10 Mini-Assembler.
|
||||
|
||||
|
|
@ -23,11 +25,11 @@ and pseudo-ops **IRPC**, **IFE**, **IFN**, and **EXP**. It generates 4 words of
|
|||
|
||||
{% include machine.html id="testka10" %}
|
||||
|
||||
After the machine executes the following command:
|
||||
Assemble TEXT.MAC:
|
||||
|
||||
a 100 /apps/pdp10/tests/macro10/TEXT.MAC
|
||||
a 100 TEXT.MAC
|
||||
|
||||
the following results should appear:
|
||||
Verify the following results:
|
||||
|
||||
starting PCjs MACRO-10 Mini-Assembler...
|
||||
loading TEXT.MAC
|
||||
|
|
@ -39,9 +41,27 @@ the following results should appear:
|
|||
PC=000100 RA=00000000 EA=000000 C0=0 C1=0 OV=0 ND=0 PD=0
|
||||
000100: 014101 102103 UUO 2,102103(1)
|
||||
|
||||
and if you dump the first 4 words with the command `db 100 l4`:
|
||||
Dump the 4 assembled words with the command `db 100 l4`:
|
||||
|
||||
000100: 014101 102103 003 004 011 004 041 ....!
|
||||
000101: 104105 106107 021 004 051 014 043 ..).#
|
||||
000102: 110111 112113 022 004 111 024 045 ..I.%
|
||||
000103: 114000 000000 023 000 000 000 000 .....
|
||||
|
||||
Source code from TEXT.MAC:
|
||||
|
||||
{% highlight text %}
|
||||
{% include_relative TEXT.MAC.txt %}
|
||||
{% endhighlight %}
|
||||
|
||||
### Nested Literal Test
|
||||
|
||||
Assemble NESTLIT.MAC:
|
||||
|
||||
a 100 NESTLIT.MAC
|
||||
|
||||
Source code from NESTLIT.MAC:
|
||||
|
||||
{% highlight text %}
|
||||
{% include_relative NESTLIT.MAC.txt %}
|
||||
{% endhighlight %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue