summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/greg2.s
blob: 15c91baa4fa514db535023393e4dd835b54670ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Use of .greg; non-mmixal syntax though somewhat corresponding to greg1.
# Note that use-before-definition is allowed.
 .text

 .greg A0,0
 .greg B1,1
 .greg C3,D4
 .greg D5,
 .greg ,E6+24 % Somewhat unusable, but hey...
 .greg F7,.+8
 .greg ,.+8
 .greg G8,0xf7
 .greg H9,.+8

D4:
 set $123,456
E6:
 set $234,7899
 swym 2,3,4
Main:
 swym 1,2,3