* gas/i386/intel16.s: New.
* gas/i386/intel16.d: New. * gas/i386/i386.exp: Run it.
This commit is contained in:
parent
cd61ebfe13
commit
be66c492b9
4 changed files with 33 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-07-08 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* gas/i386/intel16.s: New.
|
||||
* gas/i386/intel16.d: New.
|
||||
* gas/i386/i386.exp: Run it.
|
||||
|
||||
2002-07-03 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* lib/gas-defs.exp (run_dump_test): Run objdump/nm/objcopy/readelf
|
||||
|
|
|
@ -46,6 +46,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
|
|||
run_dump_test "naked"
|
||||
run_dump_test "opcode"
|
||||
run_dump_test "intel"
|
||||
run_dump_test "intel16"
|
||||
run_dump_test "prefix"
|
||||
run_dump_test "amd"
|
||||
run_dump_test "katmai"
|
||||
|
|
15
gas/testsuite/gas/i386/intel16.d
Normal file
15
gas/testsuite/gas/i386/intel16.d
Normal file
|
@ -0,0 +1,15 @@
|
|||
#objdump: -dw -mi8086
|
||||
#name: i386 intel16
|
||||
|
||||
.*: +file format .*
|
||||
|
||||
Disassembly of section .text:
|
||||
|
||||
0+000 <.text>:
|
||||
0: 66 0f bf 06 00 00 [ ]*movswl 0,%eax
|
||||
6: 66 0f be 06 00 00 [ ]*movsbl 0,%eax
|
||||
c: 0f be 06 00 00 [ ]*movsbw 0,%ax
|
||||
11: 66 0f b7 06 00 00 [ ]*movzwl 0,%eax
|
||||
17: 66 0f b6 06 00 00 [ ]*movzbl 0,%eax
|
||||
1d: 0f b6 06 00 00 [ ]*movzbw 0,%ax
|
||||
...
|
11
gas/testsuite/gas/i386/intel16.s
Normal file
11
gas/testsuite/gas/i386/intel16.s
Normal file
|
@ -0,0 +1,11 @@
|
|||
.intel_syntax noprefix
|
||||
.code16
|
||||
.text
|
||||
|
||||
movsx eax,word ptr [0]
|
||||
movsx eax,byte ptr [0]
|
||||
movsx ax,byte ptr [0]
|
||||
movzx eax,word ptr [0]
|
||||
movzx eax,byte ptr [0]
|
||||
movzx ax,byte ptr [0]
|
||||
.p2align 4,0
|
Loading…
Reference in a new issue