aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/mmixal/x.mms
blob: 538d22163ccff774accc22ff5b1584f76ad9c759 (plain)
1
2
3
4
5
6
7
8
9
10
11
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