summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/d30v/serial.l
blob: f7a5a670766ffe256d07cf245c1d12e081712353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.*: Assembler messages:
.*:6: Error: Unable to mix instructions as specified
.*:7: Error: Unable to mix instructions as specified
.*:8: Error: Unable to mix instructions as specified
.*:9: Error: Unable to mix instructions as specified
GAS LISTING .*


   1              	# serial.s
   2              	#
   3              	# In the following examples, the right-subinstructions
   4              	# will never be executed.  GAS should detect this.
   5              		
   6 \?\?\?\? 000000F0 		trap r21 -> add r2, r0, r0 ; right instruction will never be executed.
\*\*\*\*  Error:Unable to mix instructions as specified
   6      000000F0 
   6      000000F0 
   6      00000090 
   6      001500F0 
   7 \?\?\?\? 08002000 		dbt     -> add r2, r0, r0               ; ditto
\*\*\*\*  Error:Unable to mix instructions as specified
   7      00F00000 
   7      00B00000 
   7      00F00000 
   8 \?\?\?\? 08002000 		rtd     -> add r2, r0, r0               ; ditto
\*\*\*\*  Error:Unable to mix instructions as specified
   8      00F00000 
   8      00A00000 
   8      00F00000 
   9 \?\?\?\? 08002000 		reit    -> add r2, r0, r0               ; ditto
\*\*\*\*  Error:Unable to mix instructions as specified
   9      00F00000 
   9      00800000 
   9      00F00000 
  10 \?\?\?\? 08002000 		mvtsys psw,  r1 -> add r2, r0, r0       ; OK
  10      00F00000 
  10      00E00040 
  10      88002000 
  11 \?\?\?\? 00E00042 		mvtsys pswh, r1 -> add r2, r0, r0       ; OK
  11      88002000 
  12 \?\?\?\? 00E00041 		mvtsys pswl, r1 -> add r2, r0, r0       ; OK
  12      88002000 
  13 \?\?\?\? 00E00043 		mvtsys f0, r1 -> add r2, r0, r0         ; OK
  13      88002000 
  14 \?\?\?\? 00E0A040 		mvtsys mod_s, r1 -> add r2, r0, r0      ; OK
  14      88002000