old-cross-binutils/gdb/testsuite/gdb.disasm/t02_mova.exp
Michael Snyder 57ba3b854e 2003-07-23 Michael Snyder <msnyder@redhat.com>
* gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
	* gdb.disasm/t01_mov.exp: Ditto.
	* gdb.disasm/t02_mova.s: Ditto.
	* gdb.disasm/t02_mova.exp: Ditto.
	* gdb.disasm/t03_add.s: Ditto.
	* gdb.disasm/t03_add.exp: Ditto.
	* gdb.disasm/t04_sub.s: Ditto.
	* gdb.disasm/t04_sub.exp: Ditto.
	* gdb.disasm/t05_cmp.s: Ditto.
	* gdb.disasm/t05_cmp.exp: Ditto.
	* gdb.disasm/t06_ari2.s: Ditto.
	* gdb.disasm/t06_ari2.exp: Ditto.
	* gdb.disasm/t07_ari3.s: Ditto.
	* gdb.disasm/t07_ari3.exp: Ditto.
	* gdb.disasm/t08_or.s: Ditto.
	* gdb.disasm/t08_or.exp: Ditto.
	* gdb.disasm/t09_xor.s: Ditto.
	* gdb.disasm/t09_xor.exp: Ditto.
	* gdb.disasm/t10_and.s: Ditto.
	* gdb.disasm/t10_and.exp: Ditto.
	* gdb.disasm/t11_logs.s: Ditto.
	* gdb.disasm/t11_logs.exp: Ditto.
	* gdb.disasm/t12_bit.s: Ditto.
	* gdb.disasm/t12_bit.exp: Ditto.
	* gdb.disasm/t13_otr.s: Ditto.
	* gdb.disasm/t13_otr.exp: Ditto.
2003-07-23 18:46:14 +00:00

486 lines
27 KiB
Text

# Copyright (C) 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Please email any bugs, comments, and/or additions to this file to:
# bug-gdb@prep.ai.mit.edu
# This file was written by Michael Snyder (msnyder@redhat.com)
if $tracelevel then {
strace $tracelevel
}
if ![istarget "h8300*-*-*"] {
verbose "Tests ignored for all but h8300s based targets."
return
}
set prms_id 0
set bug_id 0
set testfile "t02_mova"
set srcfile ${srcdir}/${subdir}/${testfile}.s
set objfile ${objdir}/${subdir}/${testfile}.o
set binfile ${objdir}/${subdir}/${testfile}.x
set asm-flags "";
set link-flags "-m h8300sxelf";
if {[target_assemble $srcfile $objfile "${asm-flags}"] != ""} then {
gdb_suppress_entire_file "Testcase assembly failed, so all tests in this file will automatically fail."
}
if {[target_link $objfile $binfile "${link-flags}"] != ""} then {
gdb_suppress_entire_file "Testcase link failed, so all tests in this file will automatically fail."
}
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
gdb_test "x /i _start" "mova/b.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
"mova/b.c @(0x1234:16,r3l.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),r3.w\\),er1" \
"mova/b.c @(0x1234:16,r3.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
"mova/w.c @(0x1234:16,r3l.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),r3.w\\),er1" \
"mova/w.c @(0x1234:16,r3.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
"mova/l.c @(0x1234:16,r3l.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),r3.w\\),er1" \
"mova/l.c @(0x1234:16,r3.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
"mova/b.c @(0x12345678:32,r3l.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
"mova/b.c @(0x12345678:32,r3.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
"mova/w.c @(0x12345678:32,r3l.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
"mova/w.c @(0x12345678:32,r3.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
"mova/l.c @(0x12345678:32,r3l.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
"mova/l.c @(0x12345678:32,r3.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
"mova/b.l @(0x1234:16,r3l.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),r3.w\\),er1" \
"mova/b.l @(0x1234:16,r3.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
"mova/w.l @(0x1234:16,r3l.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),r3.w\\),er1" \
"mova/w.l @(0x1234:16,r3.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
"mova/l.l @(0x1234:16,r3l.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),r3.w\\),er1" \
"mova/l.l @(0x1234:16,r3.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
"mova/b.l @(0x12345678:32,r3l.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
"mova/b.l @(0x12345678:32,r3.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
"mova/w.l @(0x12345678:32,r3l.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
"mova/w.l @(0x12345678:32,r3.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
"mova/l.l @(0x12345678:32,r3l.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
"mova/l.l @(0x12345678:32,r3.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2.b\\),er1" \
"mova/b.l @(0x1234:16,@er2.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x1(:2|),er2\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x1:2,er2).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2\\+.b\\),er1" \
"mova/b.l @(0x1234:16,@er2+.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@-er2.b\\),er1" \
"mova/b.l @(0x1234:16,@-er2.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\+er2.b\\),er1" \
"mova/b.l @(0x1234:16,@+er2.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2-.b\\),er1" \
"mova/b.l @(0x1234:16,@er2-.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abc:16,er2).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abcdef0:32,er2).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abc:16,r2l.b).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abc:16,r2.w).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abc:16,er2.l).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abcdef0:32,r2.w).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abcdef0:32,er2.l).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@0x9abc(:16|).b\\),er1" \
"mova/b.l @(0x1234:16,@0x9abc:16.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).b\\),er1" \
"mova/b.l @(0x1234:16,@0x9abcdef0:32.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2.w\\),er1" \
"mova/b.l @(0x1234:16,@er2.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x2(:2|),er2\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x2:2,er2).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2\\+.w\\),er1" \
"mova/b.l @(0x1234:16,@er2+.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@-er2.w\\),er1" \
"mova/b.l @(0x1234:16,@-er2.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\+er2.w\\),er1" \
"mova/b.l @(0x1234:16,@+er2.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2-.w\\),er1" \
"mova/b.l @(0x1234:16,@er2-.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abc:16,er2).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abcdef0:32,er2).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abc:16,r2l.b).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abc:16,r2.w).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abc:16,er2.l).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abcdef0:32,r2.w).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
"mova/b.l @(0x1234:16,@(0x9abcdef0:32,er2.l).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@0x9abc(:16|).w\\),er1" \
"mova/b.l @(0x1234:16,@0x9abc:16.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).w\\),er1" \
"mova/b.l @(0x1234:16,@0x9abcdef0:32.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2.b\\),er1" \
"mova/w.l @(0x1234:16,@er2.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x1(:2|),er2\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x1:2,er2).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2\\+.b\\),er1" \
"mova/w.l @(0x1234:16,@er2+.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@-er2.b\\),er1" \
"mova/w.l @(0x1234:16,@-er2.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\+er2.b\\),er1" \
"mova/w.l @(0x1234:16,@+er2.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2-.b\\),er1" \
"mova/w.l @(0x1234:16,@er2-.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abc:16,er2).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abcdef0:32,er2).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abc:16,r2l.b).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abc:16,r2.w).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abc:16,er2.l).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abcdef0:32,r2.w).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abcdef0:32,er2.l).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@0x9abc(:16|).b\\),er1" \
"mova/w.l @(0x1234:16,@0x9abc:16.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).b\\),er1" \
"mova/w.l @(0x1234:16,@0x9abcdef0:32.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2.w\\),er1" \
"mova/w.l @(0x1234:16,@er2.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x2(:2|),er2\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x2:2,er2).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2\\+.w\\),er1" \
"mova/w.l @(0x1234:16,@er2+.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@-er2.w\\),er1" \
"mova/w.l @(0x1234:16,@-er2.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\+er2.w\\),er1" \
"mova/w.l @(0x1234:16,@+er2.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2-.w\\),er1" \
"mova/w.l @(0x1234:16,@er2-.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abc:16,er2).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abcdef0:32,er2).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abc:16,r2l.b).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abc:16,r2.w).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abc:16,er2.l).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abcdef0:32,r2.w).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
"mova/w.l @(0x1234:16,@(0x9abcdef0:32,er2.l).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@0x9abc(:16|).w\\),er1" \
"mova/w.l @(0x1234:16,@0x9abc:16.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).w\\),er1" \
"mova/w.l @(0x1234:16,@0x9abcdef0:32.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2.b\\),er1" \
"mova/l.l @(0x1234:16,@er2.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x1(:2|),er2\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x1:2,er2).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2\\+.b\\),er1" \
"mova/l.l @(0x1234:16,@er2+.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@-er2.b\\),er1" \
"mova/l.l @(0x1234:16,@-er2.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\+er2.b\\),er1" \
"mova/l.l @(0x1234:16,@+er2.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2-.b\\),er1" \
"mova/l.l @(0x1234:16,@er2-.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abc:16,er2).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abcdef0:32,er2).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abc:16,r2l.b).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abc:16,r2.w).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abc:16,er2.l).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abcdef0:32,r2.w).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abcdef0:32,er2.l).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@0x9abc(:16|).b\\),er1" \
"mova/l.l @(0x1234:16,@0x9abc:16.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).b\\),er1" \
"mova/l.l @(0x1234:16,@0x9abcdef0:32.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2.w\\),er1" \
"mova/l.l @(0x1234:16,@er2.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x2(:2|),er2\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x2:2,er2).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2\\+.w\\),er1" \
"mova/l.l @(0x1234:16,@er2+.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@-er2.w\\),er1" \
"mova/l.l @(0x1234:16,@-er2.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\+er2.w\\),er1" \
"mova/l.l @(0x1234:16,@+er2.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2-.w\\),er1" \
"mova/l.l @(0x1234:16,@er2-.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abc:16,er2).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abcdef0:32,er2).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abc:16,r2l.b).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abc:16,r2.w).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abc:16,er2.l).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abcdef0:32,r2.w).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
"mova/l.l @(0x1234:16,@(0x9abcdef0:32,er2.l).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@0x9abc(:16|).w\\),er1" \
"mova/l.l @(0x1234:16,@0x9abc:16.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).w\\),er1" \
"mova/l.l @(0x1234:16,@0x9abcdef0:32.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2.b\\),er1" \
"mova/b.l @(0x12345678:32,@er2.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x1(:2|),er2\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x1:2,er2).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2\\+.b\\),er1" \
"mova/b.l @(0x12345678:32,@er2+.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@-er2.b\\),er1" \
"mova/b.l @(0x12345678:32,@-er2.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\+er2.b\\),er1" \
"mova/b.l @(0x12345678:32,@+er2.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2-.b\\),er1" \
"mova/b.l @(0x12345678:32,@er2-.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abc:16,er2).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abcdef0:32,er2).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abc:16,r2l.b).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abc:16,r2.w).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abc:16,er2.l).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@0x9abc(:16|).b\\),er1" \
"mova/b.l @(0x12345678:32,@0x9abc:16.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).b\\),er1" \
"mova/b.l @(0x12345678:32,@0x9abcdef0:32.b),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2.w\\),er1" \
"mova/b.l @(0x12345678:32,@er2.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x2(:2|),er2\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x2:2,er2).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2\\+.w\\),er1" \
"mova/b.l @(0x12345678:32,@er2+.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@-er2.w\\),er1" \
"mova/b.l @(0x12345678:32,@-er2.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\+er2.w\\),er1" \
"mova/b.l @(0x12345678:32,@+er2.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2-.w\\),er1" \
"mova/b.l @(0x12345678:32,@er2-.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abc:16,er2).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abcdef0:32,er2).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abc:16,r2l.b).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abc:16,r2.w).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abc:16,er2.l).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
"mova/b.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@0x9abc(:16|).w\\),er1" \
"mova/b.l @(0x12345678:32,@0x9abc:16.w),er1"
gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).w\\),er1" \
"mova/b.l @(0x12345678:32,@0x9abcdef0:32.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2.b\\),er1" \
"mova/w.l @(0x12345678:32,@er2.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x1(:2|),er2\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x1:2,er2).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2\\+.b\\),er1" \
"mova/w.l @(0x12345678:32,@er2+.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@-er2.b\\),er1" \
"mova/w.l @(0x12345678:32,@-er2.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\+er2.b\\),er1" \
"mova/w.l @(0x12345678:32,@+er2.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2-.b\\),er1" \
"mova/w.l @(0x12345678:32,@er2-.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abc:16,er2).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abcdef0:32,er2).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abc:16,r2l.b).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abc:16,r2.w).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abc:16,er2.l).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@0x9abc(:16|).b\\),er1" \
"mova/w.l @(0x12345678:32,@0x9abc:16.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).b\\),er1" \
"mova/w.l @(0x12345678:32,@0x9abcdef0:32.b),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2.w\\),er1" \
"mova/w.l @(0x12345678:32,@er2.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x2(:2|),er2\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x2:2,er2).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2\\+.w\\),er1" \
"mova/w.l @(0x12345678:32,@er2+.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@-er2.w\\),er1" \
"mova/w.l @(0x12345678:32,@-er2.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\+er2.w\\),er1" \
"mova/w.l @(0x12345678:32,@+er2.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2-.w\\),er1" \
"mova/w.l @(0x12345678:32,@er2-.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abc:16,er2).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abcdef0:32,er2).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abc:16,r2l.b).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abc:16,r2.w).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abc:16,er2.l).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
"mova/w.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@0x9abc(:16|).w\\),er1" \
"mova/w.l @(0x12345678:32,@0x9abc:16.w),er1"
gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).w\\),er1" \
"mova/w.l @(0x12345678:32,@0x9abcdef0:32.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2.b\\),er1" \
"mova/l.l @(0x12345678:32,@er2.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x1(:2|),er2\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x1:2,er2).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2\\+.b\\),er1" \
"mova/l.l @(0x12345678:32,@er2+.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@-er2.b\\),er1" \
"mova/l.l @(0x12345678:32,@-er2.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\+er2.b\\),er1" \
"mova/l.l @(0x12345678:32,@+er2.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2-.b\\),er1" \
"mova/l.l @(0x12345678:32,@er2-.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abc:16,er2).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abcdef0:32,er2).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abc:16,r2l.b).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abc:16,r2.w).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abc:16,er2.l).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@0x9abc(:16|).b\\),er1" \
"mova/l.l @(0x12345678:32,@0x9abc:16.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).b\\),er1" \
"mova/l.l @(0x12345678:32,@0x9abcdef0:32.b),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2.w\\),er1" \
"mova/l.l @(0x12345678:32,@er2.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x2(:2|),er2\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x2:2,er2).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2\\+.w\\),er1" \
"mova/l.l @(0x12345678:32,@er2+.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@-er2.w\\),er1" \
"mova/l.l @(0x12345678:32,@-er2.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\+er2.w\\),er1" \
"mova/l.l @(0x12345678:32,@+er2.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2-.w\\),er1" \
"mova/l.l @(0x12345678:32,@er2-.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abc:16,er2).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abcdef0:32,er2).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abc:16,r2l.b).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abc:16,r2.w).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abc:16,er2.l).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
"mova/l.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@0x9abc(:16|).w\\),er1" \
"mova/l.l @(0x12345678:32,@0x9abc:16.w),er1"
gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).w\\),er1" \
"mova/l.l @(0x12345678:32,@0x9abcdef0:32.w),er1"