summaryrefslogtreecommitdiffhomepage
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/permutations.cardrd1
-rw-r--r--samples/permutations.mixal2
-rw-r--r--samples/primes.mixal2
3 files changed, 3 insertions, 2 deletions
diff --git a/samples/permutations.cardrd b/samples/permutations.cardrd
index f626e04..d9e4db6 100644
--- a/samples/permutations.cardrd
+++ b/samples/permutations.cardrd
@@ -1,2 +1,3 @@
( A C F G ) ( B C D ) ( A E D )
( F A D E ) ( B g F a E ) =
+
diff --git a/samples/permutations.mixal b/samples/permutations.mixal
index 24cc682..2c26df5 100644
--- a/samples/permutations.mixal
+++ b/samples/permutations.mixal
@@ -19,7 +19,7 @@ BEGIN IN PERM(CARDS)
OUT OUTBUF(PRINTER)
JE 1F
INC2 16
- CMP2 =MAXWDS-16=,1(1:5)
+ CMP2 =MAXWDS-16=
JLE 1B
HLT 666
1H INC2 15
diff --git a/samples/primes.mixal b/samples/primes.mixal
index d2de8c0..365db32 100644
--- a/samples/primes.mixal
+++ b/samples/primes.mixal
@@ -1,7 +1,7 @@
* table of primes (taopc p. 148)
*
L EQU 500
-OUTDEV EQU 20 the paper tape
+OUTDEV EQU 18 the printer
PRIME EQU -1
BUF0 EQU 2000
BUF1 EQU BUF0+25