* gas/z8k/ctrl-names.d: New file.

* gas/z8k/ctrl-names.s: New file.
	* gas/z8k/z8k.exp: Run new tests.
This commit is contained in:
Christian Groessler 2003-12-05 23:37:02 +00:00
parent 15466f2da7
commit 24bc63c55a
4 changed files with 86 additions and 0 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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"
}