summaryrefslogtreecommitdiffhomepage
path: root/samples
diff options
context:
space:
mode:
authorjaortega <jaortega>2000-11-17 23:58:50 +0000
committerjaortega <jaortega>2000-11-17 23:58:50 +0000
commitce615c3e96515416252b66ddd81fcbcbd86d4ed5 (patch)
tree12e0e55956c55112ba298855c534d2d56e48a563 /samples
parent739805f047938b87a7c71b5be4d309a122138f54 (diff)
downloadmdk-ce615c3e96515416252b66ddd81fcbcbd86d4ed5.tar.gz
mdk-ce615c3e96515416252b66ddd81fcbcbd86d4ed5.tar.bz2
test program by pking
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