2010-08-02 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / all / altmacro.s
1 .macro m1 v1, v2
2 LOCAL l1, l2
3 label&v1:
4 l1: .byte v1
5 label&v2:
6 l2: .byte v2
7 .endm
8
9 .macro m2 v1, v2
10 m1 %(v1), %(v2-v1)
11 .endm
12
13 .macro m3 str
14 .ascii &str
15 .endm
16
17 .data
18
19 m2 1, 3
20 m2 9, 27
21
22 m3 "abc"
23 m3 <"1", "23">
24
25 .noaltmacro
26
27 .macro m4 str
28 .ascii "&str"
29 .endm
30
31 m4 "!!<>'"
32
33 .altmacro
34
35 m3 "!!<>'"
This page took 0.031608 seconds and 4 git commands to generate.