Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | #objdump: -d --prefix-addresses |
2 | #name: MRI structured for | |
3 | #as: -M | |
4 | ||
5 | # Test MRI structured for pseudo-op. | |
6 | ||
7 | .*: file format .* | |
8 | ||
9 | Disassembly of section .text: | |
10 | 0+000 <foo> clrw %d1 | |
11 | 0+002 <foo\+(0x|)2> movew #1,%d0 | |
12 | 0+006 <foo\+(0x|)6> cmpiw #10,%d0 | |
13 | 0+00a <foo\+(0x|)a> blts 0+016 <foo\+(0x|)16> | |
14 | 0+00c <foo\+(0x|)c> addw %d0,%d1 | |
15 | 0+00e <foo\+(0x|)e> bvcs 0+012 <foo\+(0x|)12> | |
16 | 0+010 <foo\+(0x|)10> bras 0+016 <foo\+(0x|)16> | |
17 | 0+012 <foo\+(0x|)12> addqw #2,%d0 | |
18 | 0+014 <foo\+(0x|)14> bras 0+006 <foo\+(0x|)6> | |
19 | 0+016 <foo\+(0x|)16> clrw %d1 | |
20 | 0+018 <foo\+(0x|)18> movew #10,%d0 | |
21 | 0+01c <foo\+(0x|)1c> cmpiw #1,%d0 | |
22 | 0+020 <foo\+(0x|)20> bgts 0+030 <foo\+(0x|)30> | |
23 | 0+022 <foo\+(0x|)22> cmpiw #100,%d1 | |
24 | 0+026 <foo\+(0x|)26> bgts 0+02a <foo\+(0x|)2a> | |
25 | 0+028 <foo\+(0x|)28> bras 0+02c <foo\+(0x|)2c> | |
26 | 0+02a <foo\+(0x|)2a> addw %d0,%d1 | |
27 | 0+02c <foo\+(0x|)2c> subqw #1,%d0 | |
28 | 0+02e <foo\+(0x|)2e> bras 0+01c <foo\+(0x|)1c> | |
29 | 0+030 <foo\+(0x|)30> nop | |
30 | 0+032 <foo\+(0x|)32> nop |