diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-11 19:22:40 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-11 19:22:40 +0000 |
commit | 548340c4bfa596b602f286dfd3a8782817859d95 (patch) | |
tree | ce4fc8f4b0d1d51543310dbf6018258779401dcc /test/MC/ARM/arm-memory-instructions.s | |
parent | 71156a6e00d3dc4c531a421a76b3b6ee0ae7d0ab (diff) | |
download | llvm-548340c4bfa596b602f286dfd3a8782817859d95.tar.gz llvm-548340c4bfa596b602f286dfd3a8782817859d95.tar.bz2 llvm-548340c4bfa596b602f286dfd3a8782817859d95.tar.xz |
ARM STR(immediate) assembly parsing and encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/arm-memory-instructions.s')
-rw-r--r-- | test/MC/ARM/arm-memory-instructions.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/ARM/arm-memory-instructions.s b/test/MC/ARM/arm-memory-instructions.s index e011718b5a..92180a0e54 100644 --- a/test/MC/ARM/arm-memory-instructions.s +++ b/test/MC/ARM/arm-memory-instructions.s @@ -293,3 +293,17 @@ _func: @ CHECK: ldrsht r2, [r1], -r4 @ encoding: [0xf4,0x20,0x31,0xe0] +@------------------------------------------------------------------------------ +@ STR (immediate) +@------------------------------------------------------------------------------ + str r8, [r12] + str r7, [r1, #12] + str r3, [r5, #40]! + str r9, [sp], #4095 + str r1, [r7], #-128 + +@ CHECK: str r8, [r12] @ encoding: [0x00,0x80,0x8c,0xe5] +@ CHECK: str r7, [r1, #12] @ encoding: [0x0c,0x70,0x81,0xe5] +@ CHECK: str r3, [r5, #40]! @ encoding: [0x28,0x30,0xa5,0xe5] +@ CHECK: str r9, [sp], #4095 @ encoding: [0xff,0x9f,0x8d,0xe4] +@ CHECK: str r1, [r7], #-128 @ encoding: [0x80,0x10,0x07,0xe4] |