~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/mmix/comment-1.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Check that "naked" comments are accepted and ignored on all different
 
2
# mnemonic types and pseudos.  The goal is to use all combinations of
 
3
# operands where varying number of operands are allowed.  If any
 
4
# combinations are missing, for simplicity, add them to another file.
 
5
Main TRAP 123 ignore; x y z
 
6
 TRAP 1,23 all; x y z
 
7
 TRAP 1,2,3 these; x y z
 
8
 FCMP $3,$2,$1 comments; x y z
 
9
 FLOT $5,6 and; x y z
 
10
 FLOT $7,ROUND_UP,8 do; x y z
 
11
 FIX $9,$10 nothing; x y z
 
12
 FIX $11,ROUND_DOWN,$12 that; x y z
 
13
 ADDU $15,$16,17 would make; x y z
 
14
 LDA $18,$19 a; x y z
 
15
 LDA $20,$21,22 difference; x y z
 
16
 NEG $23,$24 in; x y z
 
17
 NEG $25,26,$27 the; x y z
 
18
 bn $28,target + 44 generated; x y z
 
19
 SYNCD 29,$30,31 code; x y z
 
20
 PUSHGO 32,$33,34 so; x y z
 
21
 SET $35,$36 it; x y z
 
22
 SETH $37,target2 + 48 is; x y z
 
23
 JMP target3 + 56 as; x y z
 
24
 POP 38,39 if; x y z
 
25
 RESUME 40 it; x y z
 
26
 PUSHJ $41,target3 had; x y z
 
27
 SAVE $42,0 never; x y z
 
28
 UNSAVE 0,$43 been; x y z
 
29
 PUT rJ,$44 there; x y z
 
30
 GET $45,rJ at all.; x y z
 
31
 
 
32
 LOC @+4 likewise; x y z
 
33
 PREFIX : with; x y z
 
34
 BYTE 3,2,1,0+4 the; x y z
 
35
 WYDE 7,4+8 different; x y z
 
36
 TETRA 8+12 pseudo; x y z
 
37
 OCTA 12+16 ops,; x y z
 
38
 LOCAL 48 they; x y z
 
39
 BSPEC 49 too; x y z
 
40
# Specifying an operand field (although ignored) is necessary for a comment
 
41
# with a ';' to be ignorable and not interpreted as eoln, both for GAS and
 
42
# mmixal.
 
43
 ESPEC 0 ignore; x y z
 
44
 GREG 50 + 1 naked; x y z
 
45
z IS 9 + 8 + 7 comments; x y z
 
46
x SWYM 34,21,56