summaryrefslogtreecommitdiffhomepage
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/Makefile.am4
-rw-r--r--samples/minus_zero.mixal8
2 files changed, 10 insertions, 2 deletions
diff --git a/samples/Makefile.am b/samples/Makefile.am
index 357b5f3..c1dcfa6 100644
--- a/samples/Makefile.am
+++ b/samples/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-# Copyright (C) 2000, 2001, 2004, 2006, 2013 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2004, 2006, 2013, 2019 Free Software Foundation, Inc.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
@@ -14,4 +14,4 @@ SUBDIRS = tests
EXTRA_DIST = primes.result hello.mixal primes.mixal echo.mixal \
permutations.mixal permutations.cardrd isains.mixal \
- elevator.mixal mystery.mixal
+ elevator.mixal mystery.mixal minus_zero.mixal
diff --git a/samples/minus_zero.mixal b/samples/minus_zero.mixal
new file mode 100644
index 0000000..9adb914
--- /dev/null
+++ b/samples/minus_zero.mixal
@@ -0,0 +1,8 @@
+ ORIG 3000
+START ENTA 1
+ STA 1000
+ LDA 0
+ DECA 1
+ ADD 1000
+ HLT
+ END 3000