aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-06-10 07:33:46 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-06-10 07:33:46 +0000
commit2a93846b50ab8ecbbcc7775de29f3494889cb3f9 (patch)
tree4ce85bc7d9c8e15a4a19aee4ef8f7130bf8f78cf /gas
parent0613284fd49388e6d5938e76e471362485c6c93e (diff)
downloadgdb-2a93846b50ab8ecbbcc7775de29f3494889cb3f9.zip
gdb-2a93846b50ab8ecbbcc7775de29f3494889cb3f9.tar.gz
gdb-2a93846b50ab8ecbbcc7775de29f3494889cb3f9.tar.bz2
include/opcode/
* h8300.h (IMM4_NS, IMM8_NS): New. (h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries. Likewise IMM8 for mov.w and mov.l. Likewise IMM16U for mov.l. gas/testsuite * gas/h8300/h8sx_mov_imm.[sd]: New test. * gas/h8300/h8300.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/h8300/h8300.exp1
-rw-r--r--gas/testsuite/gas/h8300/h8sx_mov_imm.d293
-rw-r--r--gas/testsuite/gas/h8300/h8sx_mov_imm.s98
4 files changed, 397 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 4ea3d4b..7b14f61 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2003-06-10 Richard Sandiford <rsandifo@redhat.com>
+ * gas/h8300/h8sx_mov_imm.[sd]: New test.
+ * gas/h8300/h8300.exp: Run it.
+
+2003-06-10 Richard Sandiford <rsandifo@redhat.com>
+
* gas/h8300/h8sx_rtsl.[sd]: New test.
* gas/h8300/h8300.exp: Run it.
diff --git a/gas/testsuite/gas/h8300/h8300.exp b/gas/testsuite/gas/h8300/h8300.exp
index e167a3f..2aa2b06 100644
--- a/gas/testsuite/gas/h8300/h8300.exp
+++ b/gas/testsuite/gas/h8300/h8300.exp
@@ -2169,6 +2169,7 @@ if [istarget h8300*-*-*] then {
run_dump_test h8sx_disp2
run_dump_test h8sx_rtsl
+ run_dump_test h8sx_mov_imm
# Now some random tests
set svr4pic [expr [istarget *-*-elf*] || [istarget *-*-irix5*] ]
diff --git a/gas/testsuite/gas/h8300/h8sx_mov_imm.d b/gas/testsuite/gas/h8300/h8sx_mov_imm.d
new file mode 100644
index 0000000..84fc12a
--- /dev/null
+++ b/gas/testsuite/gas/h8300/h8sx_mov_imm.d
@@ -0,0 +1,293 @@
+# objdump: -dr
+
+.*: *file format elf32-h8300
+
+Disassembly of section \.text:
+
+.* <.*>:
+.*: fa 00 * fa 00 * mov.b #0x0,r2l
+ .*: R_H8_DIR8 foo
+.*: fa 00 * fa 00 * mov.b #0x0,r2l
+ .*: R_H8_DIR8 .L1
+.*: fa 00 * fa 00 * mov.b #0x0,r2l
+ .*: R_H8_DIR8 bar
+.*: 01 7d 02 00 * 01 7d 02 00 * mov.b #0x0,@r2
+ .*: R_H8_DIR8 foo
+.*: 01 7d 02 00 * 01 7d 02 00 * mov.b #0x0,@r2
+ .*: R_H8_DIR8 .L1
+.*: 01 7d 02 00 * 01 7d 02 00 * mov.b #0x0,@r2
+ .*: R_H8_DIR8 bar
+.*: 01 7d b2 00 * 01 7d b2 00 * mov.b #0x0,@-r2
+ .*: R_H8_DIR8 foo
+.*: 01 7d 82 00 * 01 7d 82 00 * mov.b #0x0,@r2\+
+ .*: R_H8_DIR8 .L1
+.*: 01 7d a2 00 * 01 7d a2 00 * mov.b #0x0,@r2-
+ .*: R_H8_DIR8 bar
+.*: 01 7d 22 00 * 01 7d 22 00 * mov.b #0x0,@\(0x2:2,r2\)
+ .*: R_H8_DIR8 foo
+.*: 01 7d 22 00 * 01 7d 22 00 * mov.b #0x0,@\(0x2:2,r2\)
+ .*: R_H8_DIR8 .L1
+.*: 01 7d 22 00 * 01 7d 22 00 * mov.b #0x0,@\(0x2:2,r2\)
+ .*: R_H8_DIR8 bar
+.*: 01 7d c2 00 * 01 7d c2 00 00 10 * mov.b #0x0,@\(0x10:16,r2\)
+.*: 00 10 *
+ .*: R_H8_DIR8 foo
+.*: 01 7d c2 00 * 01 7d c2 00 00 10 * mov.b #0x0,@\(0x10:16,r2\)
+.*: 00 10 *
+ .*: R_H8_DIR8 .L1
+.*: 01 7d c2 00 * 01 7d c2 00 00 10 * mov.b #0x0,@\(0x10:16,r2\)
+.*: 00 10 *
+ .*: R_H8_DIR8 bar
+.*: 01 7d d2 00 * 01 7d d2 00 00 10 * mov.b #0x0,@\(0x10:16,r2l.b\)
+.*: 00 10 *
+ .*: R_H8_DIR8 foo
+.*: 01 7d e2 00 * 01 7d e2 00 00 10 * mov.b #0x0,@\(0x10:16,r2.w\)
+.*: 00 10 *
+ .*: R_H8_DIR8 .L1
+.*: 01 7d f2 00 * 01 7d f2 00 00 10 * mov.b #0x0,@\(0x10:16,er2.l\)
+.*: 00 10 *
+ .*: R_H8_DIR8 bar
+.*: 01 7d ca 00 * 01 7d ca 00 00 01 23 45 * mov.b #0x0,@\(0x12345:32,r2\)
+.*: 00 01 23 45 *
+ .*: R_H8_DIR8 foo
+.*: 01 7d ca 00 * 01 7d ca 00 00 01 23 45 * mov.b #0x0,@\(0x12345:32,r2\)
+.*: 00 01 23 45 *
+ .*: R_H8_DIR8 .L1
+.*: 01 7d ca 00 * 01 7d ca 00 00 01 23 45 * mov.b #0x0,@\(0x12345:32,r2\)
+.*: 00 01 23 45 *
+ .*: R_H8_DIR8 bar
+.*: 01 7d da 00 * 01 7d da 00 00 01 23 45 * mov.b #0x0,@\(0x12345:32,r2l.b\)
+.*: 00 01 23 45 *
+ .*: R_H8_DIR8 foo
+.*: 01 7d ea 00 * 01 7d ea 00 00 01 23 45 * mov.b #0x0,@\(0x12345:32,r2.w\)
+.*: 00 01 23 45 *
+ .*: R_H8_DIR8 .L1
+.*: 01 7d fa 00 * 01 7d fa 00 00 01 23 45 * mov.b #0x0,@\(0x12345:32,er2.l\)
+.*: 00 01 23 45 *
+ .*: R_H8_DIR8 bar
+.*: 01 7d 40 00 * 01 7d 40 00 80 00 * mov.b #0x0,@0x8000:16
+.*: 80 00 *
+ .*: R_H8_DIR8 foo
+.*: 01 7d 40 00 * 01 7d 40 00 80 00 * mov.b #0x0,@0x8000:16
+.*: 80 00 *
+ .*: R_H8_DIR8 .L1
+.*: 01 7d 40 00 * 01 7d 40 00 80 00 * mov.b #0x0,@0x8000:16
+.*: 80 00 *
+ .*: R_H8_DIR8 bar
+.*: 01 7d 48 00 * 01 7d 48 00 00 01 80 00 * mov.b #0x0,@0x18000:32
+.*: 00 01 80 00 *
+ .*: R_H8_DIR8 foo
+.*: 01 7d 48 00 * 01 7d 48 00 00 01 80 00 * mov.b #0x0,@0x18000:32
+.*: 00 01 80 00 *
+ .*: R_H8_DIR8 .L1
+.*: 01 7d 48 00 * 01 7d 48 00 00 01 80 00 * mov.b #0x0,@0x18000:32
+.*: 00 01 80 00 *
+ .*: R_H8_DIR8 bar
+.*: 79 02 00 00 * 79 02 00 00 * mov.w #0x0,r2
+ .*: R_H8_DIR16 foo
+.*: 79 02 00 00 * 79 02 00 00 * mov.w #0x0,r2
+ .*: R_H8_DIR16 .L1
+.*: 79 02 00 00 * 79 02 00 00 * mov.w #0x0,r2
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 02 00 * mov.w #0x0,@r2
+.*: 02 00 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 02 00 * mov.w #0x0,@r2
+.*: 02 00 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 02 00 * mov.w #0x0,@r2
+.*: 02 00 *
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 b2 00 * mov.w #0x0,@-r2
+.*: b2 00 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 82 00 * mov.w #0x0,@r2\+
+.*: 82 00 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 a2 00 * mov.w #0x0,@r2-
+.*: a2 00 *
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 22 00 * mov.w #0x0,@\(0x4:2,r2\)
+.*: 22 00 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 22 00 * mov.w #0x0,@\(0x4:2,r2\)
+.*: 22 00 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 22 00 * mov.w #0x0,@\(0x4:2,r2\)
+.*: 22 00 *
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 c2 00 00 10 * mov.w #0x0,@\(0x10:16,r2\)
+.*: c2 00 00 10 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 c2 00 00 10 * mov.w #0x0,@\(0x10:16,r2\)
+.*: c2 00 00 10 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 c2 00 00 10 * mov.w #0x0,@\(0x10:16,r2\)
+.*: c2 00 00 10 *
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 d2 00 00 10 * mov.w #0x0,@\(0x10:16,r2l.b\)
+.*: d2 00 00 10 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 e2 00 00 10 * mov.w #0x0,@\(0x10:16,r2.w\)
+.*: e2 00 00 10 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 f2 00 00 10 * mov.w #0x0,@\(0x10:16,er2.l\)
+.*: f2 00 00 10 *
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 ca 00 00 01 23 45 * mov.w #0x0,@\(0x12345:32,r2\)
+.*: ca 00 00 01 *
+.*: 23 45 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 ca 00 00 01 23 45 * mov.w #0x0,@\(0x12345:32,r2\)
+.*: ca 00 00 01 *
+.*: 23 45 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 ca 00 00 01 23 45 * mov.w #0x0,@\(0x12345:32,r2\)
+.*: ca 00 00 01 *
+.*: 23 45 *
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 da 00 00 01 23 45 * mov.w #0x0,@\(0x12345:32,r2l.b\)
+.*: da 00 00 01 *
+.*: 23 45 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 ea 00 00 01 23 45 * mov.w #0x0,@\(0x12345:32,r2.w\)
+.*: ea 00 00 01 *
+.*: 23 45 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 fa 00 00 01 23 45 * mov.w #0x0,@\(0x12345:32,er2.l\)
+.*: fa 00 00 01 *
+.*: 23 45 *
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 40 00 80 00 * mov.w #0x0,@0x8000:16
+.*: 40 00 80 00 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 40 00 80 00 * mov.w #0x0,@0x8000:16
+.*: 40 00 80 00 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 40 00 80 00 * mov.w #0x0,@0x8000:16
+.*: 40 00 80 00 *
+ .*: R_H8_DIR16 bar
+.*: 79 74 00 00 * 79 74 00 00 48 00 00 01 80 00 * mov.w #0x0,@0x18000:32
+.*: 48 00 00 01 *
+.*: 80 00 *
+ .*: R_H8_DIR16 foo
+.*: 79 74 00 00 * 79 74 00 00 48 00 00 01 80 00 * mov.w #0x0,@0x18000:32
+.*: 48 00 00 01 *
+.*: 80 00 *
+ .*: R_H8_DIR16 .L1
+.*: 79 74 00 00 * 79 74 00 00 48 00 00 01 80 00 * mov.w #0x0,@0x18000:32
+.*: 48 00 00 01 *
+.*: 80 00 *
+ .*: R_H8_DIR16 bar
+
+.* <.*>:
+.*: 7a 02 00 00 * 7a 02 00 00 00 00 * mov.l #0x0,er2
+.*: 00 00 *
+ .*: R_H8_DIR32 foo
+.*: 7a 02 00 00 * 7a 02 00 00 00 00 * mov.l #0x0,er2
+.*: 00 00 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 02 00 00 * 7a 02 00 00 00 00 * mov.l #0x0,er2
+.*: 00 00 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 02 00 * mov.l #0x0,@r2
+.*: 00 00 02 00 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 02 00 * mov.l #0x0,@r2
+.*: 00 00 02 00 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 02 00 * mov.l #0x0,@r2
+.*: 00 00 02 00 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 b2 00 * mov.l #0x0,@-r2
+.*: 00 00 b2 00 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 82 00 * mov.l #0x0,@r2\+
+.*: 00 00 82 00 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 a2 00 * mov.l #0x0,@r2-
+.*: 00 00 a2 00 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 22 00 * mov.l #0x0,@\(0x8:2,r2\)
+.*: 00 00 22 00 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 22 00 * mov.l #0x0,@\(0x8:2,r2\)
+.*: 00 00 22 00 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 22 00 * mov.l #0x0,@\(0x8:2,r2\)
+.*: 00 00 22 00 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 c2 00 00 10 * mov.l #0x0,@\(0x10:16,r2\)
+.*: 00 00 c2 00 *
+.*: 00 10 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 c2 00 00 10 * mov.l #0x0,@\(0x10:16,r2\)
+.*: 00 00 c2 00 *
+.*: 00 10 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 c2 00 00 10 * mov.l #0x0,@\(0x10:16,r2\)
+.*: 00 00 c2 00 *
+.*: 00 10 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 d2 00 00 10 * mov.l #0x0,@\(0x10:16,r2l.b\)
+.*: 00 00 d2 00 *
+.*: 00 10 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 e2 00 00 10 * mov.l #0x0,@\(0x10:16,r2.w\)
+.*: 00 00 e2 00 *
+.*: 00 10 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 f2 00 00 10 * mov.l #0x0,@\(0x10:16,er2.l\)
+.*: 00 00 f2 00 *
+.*: 00 10 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 ca 00 00 01 23 45 * mov.l #0x0,@\(0x12345:32,r2\)
+.*: 00 00 ca 00 *
+.*: 00 01 23 45 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 ca 00 00 01 23 45 * mov.l #0x0,@\(0x12345:32,r2\)
+.*: 00 00 ca 00 *
+.*: 00 01 23 45 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 ca 00 00 01 23 45 * mov.l #0x0,@\(0x12345:32,r2\)
+.*: 00 00 ca 00 *
+.*: 00 01 23 45 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 da 00 00 01 23 45 * mov.l #0x0,@\(0x12345:32,r2l.b\)
+.*: 00 00 da 00 *
+.*: 00 01 23 45 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 ea 00 00 01 23 45 * mov.l #0x0,@\(0x12345:32,r2.w\)
+.*: 00 00 ea 00 *
+.*: 00 01 23 45 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 fa 00 00 01 23 45 * mov.l #0x0,@\(0x12345:32,er2.l\)
+.*: 00 00 fa 00 *
+.*: 00 01 23 45 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 40 00 80 00 * mov.l #0x0,@0x8000:16
+.*: 00 00 40 00 *
+.*: 80 00 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 40 00 80 00 * mov.l #0x0,@0x8000:16
+.*: 00 00 40 00 *
+.*: 80 00 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 40 00 80 00 * mov.l #0x0,@0x8000:16
+.*: 00 00 40 00 *
+.*: 80 00 *
+ .*: R_H8_DIR32 bar
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 48 00 00 01 80 00 * mov.l #0x0,@0x18000:32
+.*: 00 00 48 00 *
+.*: 00 01 80 00 *
+ .*: R_H8_DIR32 foo
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 48 00 00 01 80 00 * mov.l #0x0,@0x18000:32
+.*: 00 00 48 00 *
+.*: 00 01 80 00 *
+ .*: R_H8_DIR32 .L1
+.*: 7a 74 00 00 * 7a 74 00 00 00 00 48 00 00 01 80 00 * mov.l #0x0,@0x18000:32
+.*: 00 00 48 00 *
+.*: 00 01 80 00 *
+ .*: R_H8_DIR32 bar
+.* <.*>:
+ \.\.\.
diff --git a/gas/testsuite/gas/h8300/h8sx_mov_imm.s b/gas/testsuite/gas/h8300/h8sx_mov_imm.s
new file mode 100644
index 0000000..b2e29b8
--- /dev/null
+++ b/gas/testsuite/gas/h8300/h8sx_mov_imm.s
@@ -0,0 +1,98 @@
+ .h8300sx
+ mov.b #foo,r2l
+ mov.b #.L1,r2l
+ mov.b #bar,r2l
+ mov.b #foo,@er2
+ mov.b #.L1,@er2
+ mov.b #bar,@er2
+ mov.b #foo,@-er2
+ mov.b #.L1,@er2+
+ mov.b #bar,@er2-
+ mov.b #foo,@(2,er2)
+ mov.b #.L1,@(2,er2)
+ mov.b #bar,@(2,er2)
+ mov.b #foo,@(16,er2)
+ mov.b #.L1,@(16,er2)
+ mov.b #bar,@(16,er2)
+ mov.b #foo,@(16,r2l.b)
+ mov.b #.L1,@(16,r2.w)
+ mov.b #bar,@(16,er2.l)
+ mov.b #foo,@(0x12345,er2)
+ mov.b #.L1,@(0x12345,er2)
+ mov.b #bar,@(0x12345,er2)
+ mov.b #foo,@(0x12345,r2l.b)
+ mov.b #.L1,@(0x12345,r2.w)
+ mov.b #bar,@(0x12345,er2.l)
+ mov.b #foo,@0xffff8000
+ mov.b #.L1,@0xffff8000
+ mov.b #bar,@0xffff8000
+ mov.b #foo,@0x18000
+ mov.b #.L1,@0x18000
+ mov.b #bar,@0x18000
+
+ mov.w #foo,r2
+ mov.w #.L1,r2
+ mov.w #bar,r2
+ mov.w #foo,@er2
+ mov.w #.L1,@er2
+ mov.w #bar,@er2
+ mov.w #foo,@-er2
+ mov.w #.L1,@er2+
+ mov.w #bar,@er2-
+ mov.w #foo,@(4,er2)
+ mov.w #.L1,@(4,er2)
+ mov.w #bar,@(4,er2)
+ mov.w #foo,@(16,er2)
+ mov.w #.L1,@(16,er2)
+ mov.w #bar,@(16,er2)
+ mov.w #foo,@(16,r2l.b)
+ mov.w #.L1,@(16,r2.w)
+ mov.w #bar,@(16,er2.l)
+ mov.w #foo,@(0x12345,er2)
+ mov.w #.L1,@(0x12345,er2)
+ mov.w #bar,@(0x12345,er2)
+ mov.w #foo,@(0x12345,r2l.b)
+ mov.w #.L1,@(0x12345,r2.w)
+ mov.w #bar,@(0x12345,er2.l)
+ mov.w #foo,@0xffff8000
+ mov.w #.L1,@0xffff8000
+ mov.w #bar,@0xffff8000
+ mov.w #foo,@0x18000
+ mov.w #.L1,@0x18000
+ mov.w #bar,@0x18000
+
+.L1:
+ mov.l #foo,er2
+ mov.l #.L1,er2
+ mov.l #bar,er2
+ mov.l #foo,@er2
+ mov.l #.L1,@er2
+ mov.l #bar,@er2
+ mov.l #foo,@-er2
+ mov.l #.L1,@er2+
+ mov.l #bar,@er2-
+ mov.l #foo,@(8,er2)
+ mov.l #.L1,@(8,er2)
+ mov.l #bar,@(8,er2)
+ mov.l #foo,@(16,er2)
+ mov.l #.L1,@(16,er2)
+ mov.l #bar,@(16,er2)
+ mov.l #foo,@(16,r2l.b)
+ mov.l #.L1,@(16,r2.w)
+ mov.l #bar,@(16,er2.l)
+ mov.l #foo,@(0x12345,er2)
+ mov.l #.L1,@(0x12345,er2)
+ mov.l #bar,@(0x12345,er2)
+ mov.l #foo,@(0x12345,r2l.b)
+ mov.l #.L1,@(0x12345,r2.w)
+ mov.l #bar,@(0x12345,er2.l)
+ mov.l #foo,@0xffff8000
+ mov.l #.L1,@0xffff8000
+ mov.l #bar,@0xffff8000
+ mov.l #foo,@0x18000
+ mov.l #.L1,@0x18000
+ mov.l #bar,@0x18000
+
+ .globl bar
+bar:
+ .space 16