diff options
Diffstat (limited to 'lexilla/test/examples/mmixal/x.mms')
-rw-r--r-- | lexilla/test/examples/mmixal/x.mms | 12 |
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
|