Commit | Line | Data |
---|---|---|
a471a06b HPN |
1 | ; File fragtest.s |
2 | ; | |
3 | ; Tests frag handling | |
4 | ||
5 | ba l1 ; 2, 254 = 0xFE | |
6 | nop | |
7 | .space 124,0 | |
8 | ba l2 ; 2, 226 = 0xE2 | |
9 | nop | |
10 | .space 124,0 | |
11 | l1: | |
12 | .space 100,0 | |
13 | l2: | |
14 | ||
15 | ba l3 ; 4, 256 = 0x0100 | |
16 | nop | |
17 | .space 124,0 | |
18 | ba l4 ; 4, 1126 = 0x0466 | |
19 | nop | |
20 | .space 124,0 | |
21 | l3: | |
22 | .space 1000,0 | |
23 | l4: | |
24 | ||
25 | ba l5 ; 4, 264 = 0x0108 | |
26 | nop | |
27 | .space 124,0 | |
28 | ba l6 ; 12, 33126 = 0x00008844 | |
29 | nop | |
30 | .space 124,0 | |
31 | l5: | |
32 | .space 33000,0 | |
33 | l6: | |
34 | ||
35 | ||
36 | ; A circular case | |
37 | ||
38 | l7: | |
39 | .space 124,0 | |
40 | ba l8 ; 2, 254 = 0xFE | |
41 | nop | |
42 | .space 126,0 | |
43 | ba l7 ; 2, -256 = 0x01 | |
44 | nop | |
45 | .space 122,0 | |
46 | l8: | |
47 | ||
48 | l9: | |
49 | .space 124,0 | |
50 | ba l10 ; 4, 258 = 0x0102 | |
51 | nop | |
52 | .space 126,0 | |
53 | ba l9 ; 4, -260 = 0xFEFC | |
54 | nop | |
55 | .space 124,0 | |
56 | l10: | |
57 | ||
58 | l11: | |
59 | .space 126,0 | |
60 | ba l12 ; 4, 256 = 0x0100 | |
61 | nop | |
62 | .space 126,0 | |
63 | ba l11 ; 4, -262 = 0xFEFA | |
64 | nop | |
65 | .space 122,0 | |
66 | l12: | |
67 | ||
68 | ||
69 | ||
70 |