Add copyright notices
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mri / mri.exp
CommitLineData
5bf135a7
NC
1# Copyright 2012
2# Free Software Foundation, Inc.
3
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 3 of the License, or
7# (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
17
252b5132
RH
18#
19# Test the m68k MRI compatibility mode.
20#
21# I originally thought that most of tests applied to any MRI
22# assembler, but it turns out that different MRI assemblers use
23# different syntaxes.
24#
25
26if ![istarget "m68*-*-*"] {
27 return
28}
29
98a79704 30# These tests are generic MRI tests: they don't rely on M68K opcodes.
252b5132
RH
31run_dump_test label
32run_dump_test equ
252b5132
RH
33run_dump_test float
34run_dump_test char
35run_dump_test expr
36run_dump_test common
37run_dump_test comment
38gas_test "empty.s" "-M" "" "MRI empty macro"
98a79704
SC
39run_dump_test semi
40
8bda4946 41if {[istarget "m6811-*"] || [istarget "m6812-*"] || [istarget "m68hc*-*"]} {
98a79704
SC
42 return
43}
44
45# Next tests contain 68K opcodes
46run_dump_test constants
47run_dump_test immconst
252b5132
RH
48run_dump_test for
49run_dump_test if
50run_dump_test repeat
51run_dump_test while
252b5132 52run_dump_test moveml
This page took 0.535859 seconds and 4 git commands to generate.