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