]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/sh/sign-extension.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / sh / sign-extension.d
diff --git a/gas/testsuite/gas/sh/sign-extension.d b/gas/testsuite/gas/sh/sign-extension.d
new file mode 100644 (file)
index 0000000..eeae7bd
--- /dev/null
@@ -0,0 +1,11 @@
+#as: -little
+#objdump: -drj.text
+#name: Sign-extended immediate
+
+.*:     file format .*sh.*
+
+Disassembly of section \.text:
+
+00000000 <foo>:
+   0:  f0 e0           mov     #-16,r0
+   2:  09 00           nop