Commit | Line | Data |
---|---|---|
3314fb38 HPN |
1 | # PUSHJ stub border-cases: two with either or both stubs unreachable, |
2 | # local symbols, ditto non-local labels, similar with three PUSHJs. | |
55b8cd59 HPN |
3 | # Note the absence of ":" on labels: because it's a symbol-character, |
4 | # it's concatenated with the parameter macro name and parsed as "\x:". | |
5 | # This happens before gas deals with ":" as it usually does; not being | |
6 | # part of the name when ending a label at the beginning of a line. | |
7 | # (Since we're LABELS_WITHOUT_COLONS it inserts one for us, but | |
8 | # that would be disabled with --gnu-syntax.) | |
3314fb38 HPN |
9 | |
10 | Main SWYM | |
11 | ||
12 | .irp x,0,1,2,3,4,5,6,7,8,9,10,11,12 | |
13 | ||
14 | .section .text.a\x,"ax" | |
55b8cd59 HPN |
15 | aa\x .space 4,0 |
16 | a\x .space 65536*4,0 | |
3314fb38 HPN |
17 | PUSHJ $33,aa\x |
18 | PUSHJ $22,a\x | |
19 | .space 65535*4-4*\x | |
20 | ||
21 | .section .text.b\x,"ax" | |
55b8cd59 HPN |
22 | bbb\x .space 4,0 |
23 | bb\x .space 4,0 | |
24 | b\x .space 65535*4 | |
3314fb38 HPN |
25 | PUSHJ $12,bbb\x |
26 | PUSHJ $13,bb\x | |
27 | PUSHJ $14,b\x | |
28 | .space 65535*4-4*\x | |
29 | ||
30 | .section .text.c\x,"ax" | |
55b8cd59 | 31 | c\x PUSHJ $100,ca\x |
3314fb38 HPN |
32 | PUSHJ $101,cb\x |
33 | .space 65535*4-4*\x | |
34 | ||
35 | .section .text.d\x,"ax" | |
55b8cd59 | 36 | d\x PUSHJ $99,da\x |
3314fb38 HPN |
37 | PUSHJ $98,db\x |
38 | PUSHJ $97,dc\x | |
39 | .space 65535*4-4*\x | |
40 | ||
41 | .endr |