2 # Free Software Foundation, Inc.
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.
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.
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.
19 # Test the m68k MRI compatibility mode.
21 # I originally thought that most of tests applied to any MRI
22 # assembler, but it turns out that different MRI assemblers use
26 if ![istarget "m68*-*-*"] {
30 # These tests are generic MRI tests: they don't rely on M68K opcodes.
38 gas_test "empty.s" "-M" "" "MRI empty macro"
41 if {[istarget "m6811-*"] || [istarget "m6812-*"] || [istarget "m68hc*-*"]} {
45 # Next tests contain 68K opcodes
46 run_dump_test constants
47 run_dump_test immconst