summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/all/itbl.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/all/itbl.s')
-rw-r--r--gas/testsuite/gas/all/itbl.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/all/itbl.s b/gas/testsuite/gas/all/itbl.s
new file mode 100644
index 00000000000..9351aa4bb3c
--- /dev/null
+++ b/gas/testsuite/gas/all/itbl.s
@@ -0,0 +1,13 @@
+
+ ; Test case for assembler option "itbl".
+ ; Run as "as --itbl itbl itbl.s"
+ ; or with stand-alone test case "itbl-test itbl itbl.s".
+
+ ; Assemble processor instructions as defined in "itbl".
+
+ fee $d3,$c2,0x1 ; 0x4ff07601
+ fie ; 0x4ff00000
+ foh $2,0x100
+ fum $d3,$c2 ; 0x4ff07601
+ pig $2,0x100
+