Initial revision
[binutils.git] / gas / testsuite / gasp / pl3.asm
blob0131dcc1572bf063e87be2569336b21c5bdd4834
1 .ALTERNATE
3 foo MACRO string
4 LOCAL lab1, lab2
5 lab1: DATA.L lab2
6 lab2: SDATA string
7 ENDM
9 foo "An example"
10 foo "using LOCAL"
12 ! test of LOCAL directive
14 chk_err MACRO limit
15 LOCAL skip !! frob
16 LOCAL zap,dog,barf
17 barf: cmp ax,limit !! check value against
18 !! limit
19 jle skip !! skip call if OK
20 skip: call error
21 foo dog
22 zap dog
23 nop
24 ENDM
26 chk_err 5
27 chk_err 10
30 END