aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/mmixal/x.mms
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-04-30 15:41:44 +1000
committerNeil <nyamatongwe@gmail.com>2020-04-30 15:41:44 +1000
commitcc7a4b5aa751d50c4fdeae0a1335b3a5bf801ae1 (patch)
tree76d4aa036956d163890e2da1c5a0797bcef5442a /lexilla/test/examples/mmixal/x.mms
parent3602f83165d97d55d6a0e9f573c6daed325dfc2a (diff)
downloadscintilla-mirror-cc7a4b5aa751d50c4fdeae0a1335b3a5bf801ae1.tar.gz
Add tests for mmixal lexer.
Diffstat (limited to 'lexilla/test/examples/mmixal/x.mms')
-rw-r--r--lexilla/test/examples/mmixal/x.mms12
1 files changed, 12 insertions, 0 deletions
diff --git a/lexilla/test/examples/mmixal/x.mms b/lexilla/test/examples/mmixal/x.mms
new file mode 100644
index 000000000..361517cec
--- /dev/null
+++ b/lexilla/test/examples/mmixal/x.mms
@@ -0,0 +1,12 @@
+% Some example code
+
+ % Set the address of the program initially to 0x100.
+ LOC #100
+
+Main GETA $255,string
+
+ TRAP 0,Fputs,StdOut
+
+ TRAP 0,Halt,0
+
+string BYTE "Hello, world!",#a,0