aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/z80/inout.d
diff options
context:
space:
mode:
authorArnold Metselaar <arnold.metselaar@planet.nl>2008-09-14 14:04:00 +0000
committerArnold Metselaar <arnold.metselaar@planet.nl>2008-09-14 14:04:00 +0000
commitc3229d3803e1f5802fc26f6e5a08101bcb6620d7 (patch)
tree6a04b4a7e77801dd13ad06995a47b859a12a95ee /gas/testsuite/gas/z80/inout.d
parentd04117369bdf589dd7ad899960b89a77fe0597ae (diff)
downloadfsf-binutils-gdb-c3229d3803e1f5802fc26f6e5a08101bcb6620d7.zip
fsf-binutils-gdb-c3229d3803e1f5802fc26f6e5a08101bcb6620d7.tar.gz
fsf-binutils-gdb-c3229d3803e1f5802fc26f6e5a08101bcb6620d7.tar.bz2
Add new tests for z80
Diffstat (limited to 'gas/testsuite/gas/z80/inout.d')
-rw-r--r--gas/testsuite/gas/z80/inout.d24
1 files changed, 24 insertions, 0 deletions
diff --git a/gas/testsuite/gas/z80/inout.d b/gas/testsuite/gas/z80/inout.d
new file mode 100644
index 0000000..639a418
--- /dev/null
+++ b/gas/testsuite/gas/z80/inout.d
@@ -0,0 +1,24 @@
+#objdump: -d
+#name: input and output
+
+.*: .*
+
+Disassembly of section .text:
+
+0+ <.text>:
+[ ]+0:[ ]+db 76[ ]+in a,\(0x76\)
+[ ]+2:[ ]+ed 78[ ]+in a,\(c\)
+[ ]+4:[ ]+ed 40[ ]+in b,\(c\)
+[ ]+6:[ ]+ed 48[ ]+in c,\(c\)
+[ ]+8:[ ]+ed 50[ ]+in d,\(c\)
+[ ]+a:[ ]+ed 58[ ]+in e,\(c\)
+[ ]+c:[ ]+ed 60[ ]+in h,\(c\)
+[ ]+e:[ ]+ed 68[ ]+in l,\(c\)
+[ ]+10:[ ]+d3 76[ ]+out \(0x76\),a
+[ ]+12:[ ]+ed 79[ ]+out \(c\),a
+[ ]+14:[ ]+ed 41[ ]+out \(c\),b
+[ ]+16:[ ]+ed 49[ ]+out \(c\),c
+[ ]+18:[ ]+ed 51[ ]+out \(c\),d
+[ ]+1a:[ ]+ed 59[ ]+out \(c\),e
+[ ]+1c:[ ]+ed 61[ ]+out \(c\),h
+[ ]+1e:[ ]+ed 69[ ]+out \(c\),l