Commit | Line | Data |
---|---|---|
465cb9fb NC |
1 | #objdump: -dr --prefix-addresses --show-raw-insn |
2 | #name: PUSH and POP | |
3 | ||
4 | # Test the `PUSH' and `POP' instructions | |
5 | ||
6 | .*: +file format .*arm.* | |
7 | ||
8 | Disassembly of section .text: | |
9 | 0+000 <.*> e52d0004 push {r0} ; \(str r0, \[sp, #-4\]!\) | |
10 | 0+004 <.*> e92d000e push {r1, r2, r3} | |
11 | 0+008 <.*> e52d9004 push {r9} ; \(str r9, \[sp, #-4\]!\) | |
12 | 0+00c <.*> e49d9004 pop {r9} ; \(ldr r9, \[sp\], #4\) | |
13 | 0+010 <.*> e8bd000e pop {r1, r2, r3} | |
14 | 0+014 <.*> e49d0004 pop {r0} ; \(ldr r0, \[sp\], #4\) |