From cc7a4b5aa751d50c4fdeae0a1335b3a5bf801ae1 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 30 Apr 2020 15:41:44 +1000 Subject: Add tests for mmixal lexer. --- lexilla/test/examples/mmixal/x.mms | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lexilla/test/examples/mmixal/x.mms (limited to 'lexilla/test/examples/mmixal/x.mms') 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 -- cgit v1.2.3