summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/h8300/movb.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/h8300/movb.s')
-rw-r--r--gas/testsuite/gas/h8300/movb.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/gas/testsuite/gas/h8300/movb.s b/gas/testsuite/gas/h8300/movb.s
new file mode 100644
index 00000000000..fa040c0a7bf
--- /dev/null
+++ b/gas/testsuite/gas/h8300/movb.s
@@ -0,0 +1,15 @@
+ .text
+h8300_movb:
+ mov.b r0l,r1l
+ mov.b #16,r0l
+ mov.b @r1,r0l
+ mov.b @(16:16,r1),r0l
+ mov.b @r1+,r0l
+ mov.b @16:8,r0l
+ mov.b @h8300_movb:16,r0l
+ mov.b r0l,@r1
+ mov.b r0l,@(16:16,r1)
+ mov.b r0l,@-r1
+ mov.b r0l,@16:8
+ mov.b r0l,@h8300_movb:16
+