Add MMIX support
[external/binutils.git] / gas / testsuite / gas / mmix / relax1.s
1 # Relaxation border-cases: just-within reach, just-out-of-reach, forward
2 # and backward.  Have a few variable-length thingies in-between so it
3 # doesn't get too easy.
4 Main    JMP l6
5 l0      JMP l6
6 l1      JMP l6
7 l01     JMP l6
8         GETA $7,nearfar1        % Within reach.
9         PUSHJ $191,nearfar2     % Within reach.
10 l2      JMP nearfar2            % Dummy.
11         .space 65530*4,0
12         BNP $72,l0              % Within reach
13         GETA $4,l1              % Within reach.
14 nearfar1        PUSHJ 5,l01     % Within reach.
15 nearfar2        GETA $9,l1      % Out of reach.
16         PUSHJ $11,l3            % Out of reach.
17 l4      BP $55,l3               % Within reach.
18         .space 65533*4,0
19         JMP l1                  % Dummy.
20 l3      JMP l0                  % Dummy.
21         BOD $88,l4              % Within reach.
22         BOD $88,l4              % Out of reach.
23         JMP l5                  % Out of reach.
24 l6      JMP l5                  % Within reach.
25         BZ $111,l3              % Dummy.
26         .space (256*256*256-3)*4,0
27 l5      JMP l8                  % Dummy.
28         JMP l6                  % Within reach
29         JMP l6                  % Out of reach.
30         BNN $44,l9              % Out of reach.
31 l8      BNN $44,l9              % Within reach.
32         JMP l5                  % Dummy.
33         JMP l5                  % Dummy.
34         .space 65531*4,0
35 l10     JMP l5                  % Dummy.
36 l9      JMP l11                 % Dummy
37 l7      PUSHJ $33,l8            % Within reach.
38         PUSHJ $33,l8            % Out of reach.
39 l11     JMP l5                  % Dummy.
40         JMP l8                  % Dummy.
41         .space 65534*4,0
42         GETA $61,l11            % Within reach.
43         GETA $72,l11            % Out of reach.