summaryrefslogtreecommitdiffhomepage
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/stress1.mixal9
-rw-r--r--samples/stress2.mixal14
2 files changed, 23 insertions, 0 deletions
diff --git a/samples/stress1.mixal b/samples/stress1.mixal
new file mode 100644
index 0000000..f9bc8c9
--- /dev/null
+++ b/samples/stress1.mixal
@@ -0,0 +1,9 @@
+ ORIG 1999
+ST NOP
+3H EQU 69
+3H ENTA 3B
+** According to pg 151, rA should be 69, not 2000
+** "An address of 2F or 2B never refers to its own line"
+ HLT
+ END ST
+
diff --git a/samples/stress2.mixal b/samples/stress2.mixal
new file mode 100644
index 0000000..4c7250d
--- /dev/null
+++ b/samples/stress2.mixal
@@ -0,0 +1,14 @@
+ ORIG 1999
+ST NOP
+3H CON 10
+ ENT1 *
+ LDA 3B
+** rI1 is 2001, rA is 10. So far so good!
+3H ORIG 3B-1000
+** at this point 3H should
+** equal 2002, and the location counter should be 1000.
+ ENT2 *
+ LDX 3B
+** rI2 should be 1000, rX should be 2002 (I think...)
+ HLT
+ END ST