diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/z8k/ctrl-names.d | 41 | ||||
-rw-r--r-- | gas/testsuite/gas/z8k/ctrl-names.s | 35 | ||||
-rw-r--r-- | gas/testsuite/gas/z8k/z8k.exp | 4 |
4 files changed, 86 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 80243a4..84052ea 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-12-06 Christian Groessler <chris@groessler.org> + + * gas/z8k/ctrl-names.d: New file. + * gas/z8k/ctrl-names.s: New file. + * gas/z8k/z8k.exp: Run new tests. + 2003-12-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> * gas/m32r/m32r2.exp: New file for m32r2. diff --git a/gas/testsuite/gas/z8k/ctrl-names.d b/gas/testsuite/gas/z8k/ctrl-names.d new file mode 100644 index 0000000..ecf004f --- /dev/null +++ b/gas/testsuite/gas/z8k/ctrl-names.d @@ -0,0 +1,41 @@ +#as: +#objdump: -d +#name: jmp cc + +.*: +file format coff-z8k + +Disassembly of section \.text: + +00000000 <\.text>: + 0: 7d02 ldctl r0,fcw + 2: 7d0a ldctl fcw,r0 + 4: 7d03 ldctl r0,refresh + 6: 7d0b ldctl refresh,r0 + 8: 7d04 ldctl r0,psapseg + a: 7d0c ldctl psapseg,r0 + c: 7d05 ldctl r0,psapoff + e: 7d0d ldctl psapoff,r0 + 10: 7d05 ldctl r0,psapoff + 12: 7d0d ldctl psapoff,r0 + 14: 7d06 ldctl r0,nspseg + 16: 7d0e ldctl nspseg,r0 + 18: 7d07 ldctl r0,nspoff + 1a: 7d0f ldctl nspoff,r0 + 1c: 7d07 ldctl r0,nspoff + 1e: 7d0f ldctl nspoff,r0 + 20: 7d02 ldctl r0,fcw + 22: 7d0a ldctl fcw,r0 + 24: 7d03 ldctl r0,refresh + 26: 7d0b ldctl refresh,r0 + 28: 7d04 ldctl r0,psapseg + 2a: 7d0c ldctl psapseg,r0 + 2c: 7d05 ldctl r0,psapoff + 2e: 7d0d ldctl psapoff,r0 + 30: 7d05 ldctl r0,psapoff + 32: 7d0d ldctl psapoff,r0 + 34: 7d06 ldctl r0,nspseg + 36: 7d0e ldctl nspseg,r0 + 38: 7d07 ldctl r0,nspoff + 3a: 7d0f ldctl nspoff,r0 + 3c: 7d07 ldctl r0,nspoff + 3e: 7d0f ldctl nspoff,r0 diff --git a/gas/testsuite/gas/z8k/ctrl-names.s b/gas/testsuite/gas/z8k/ctrl-names.s new file mode 100644 index 0000000..6557c2c --- /dev/null +++ b/gas/testsuite/gas/z8k/ctrl-names.s @@ -0,0 +1,35 @@ + .text + + ldctl r0,fcw + ldctl fcw,r0 + ldctl r0,refresh + ldctl refresh,r0 + ldctl r0,psapseg + ldctl psapseg,r0 + ldctl r0,psapoff + ldctl psapoff,r0 + ldctl r0,psap + ldctl psap,r0 + ldctl r0,nspseg + ldctl nspseg,r0 + ldctl r0,nspoff + ldctl nspoff,r0 + ldctl r0,nsp + ldctl nsp,r0 + + LDCTL R0,FCW + LDCTL FCW,R0 + LDCTL R0,REFRESH + LDCTL REFRESH,R0 + LDCTL R0,PSAPSEG + LDCTL PSAPSEG,R0 + LDCTL R0,PSAPOFF + LDCTL PSAPOFF,R0 + LDCTL R0,PSAP + LDCTL PSAP,R0 + LDCTL R0,NSPSEG + LDCTL NSPSEG,R0 + LDCTL R0,NSPOFF + LDCTL NSPOFF,R0 + LDCTL R0,NSP + LDCTL NSP,R0 diff --git a/gas/testsuite/gas/z8k/z8k.exp b/gas/testsuite/gas/z8k/z8k.exp index 967437c..60cbca5 100644 --- a/gas/testsuite/gas/z8k/z8k.exp +++ b/gas/testsuite/gas/z8k/z8k.exp @@ -41,4 +41,8 @@ if [istarget z8k-*-*] then { run_dump_test "jmp-cc" run_dump_test "ret-cc" + +# ctrl names test + + run_dump_test "ctrl-names" } |