aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/MC/ARM/basic-thumb2-instructions.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s
index 52c71b0051..e3c41080d1 100644
--- a/test/MC/ARM/basic-thumb2-instructions.s
+++ b/test/MC/ARM/basic-thumb2-instructions.s
@@ -2253,6 +2253,20 @@ _func:
@------------------------------------------------------------------------------
+@ STRBT
+@------------------------------------------------------------------------------
+ strbt r1, [r2]
+ strbt r1, [r8, #0]
+ strbt r1, [r8, #3]
+ strbt r1, [r8, #255]
+
+@ CHECK: strbt r1, [r2] @ encoding: [0x02,0xf8,0x00,0x1e]
+@ CHECK: strbt r1, [r8] @ encoding: [0x08,0xf8,0x00,0x1e]
+@ CHECK: strbt r1, [r8, #3] @ encoding: [0x08,0xf8,0x03,0x1e]
+@ CHECK: strbt r1, [r8, #255] @ encoding: [0x08,0xf8,0xff,0x1e]
+
+
+@------------------------------------------------------------------------------
@ STRH(immediate)
@------------------------------------------------------------------------------
strh r5, [r5, #-4]