2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / req.s
CommitLineData
0bbf2aa4
NC
1 .text
2 .global test_dot_req_and_unreq
3test_dot_req_and_unreq:
4
5 # Check that builtin register alias 'r0' works.
6 add r0, r0, r0
7
8 # Create an alias for r0.
9 foo .req r0
10
11 # Check that it works.
12 add foo, foo, foo
13
14 # Now remove the alias.
15 .unreq foo
16
17 # And make sure that it no longer works.
18 add foo, foo, foo
19
20 # Finally remove the builtin alias for r0.
21 .unreq r0
22
23 # And make sure that this no longer works.
24 add r0, r0, r0
25
This page took 0.08684 seconds and 4 git commands to generate.