* i386-dis.c (print_insn_i8086): New routine to disassemble using

the 8086 instruction set.
	* i386-dis.c:  General cleanups.  Make most things static.  Add
	prototypes.  Get rid of static variables aflags and dflags.  Pass
	them as args (to almost everything).
This commit is contained in:
Stu Grossman 1996-07-16 00:01:50 +00:00
parent a29322f785
commit d9ad578c49

View File

@ -1034,15 +1034,12 @@ print_insn_i386 (pc, info)
bfd_vma pc; bfd_vma pc;
disassemble_info *info; disassemble_info *info;
{ {
print_insn_x86 (pc, info, 1, 1); if (info->mach == bfd_mach_i386_i386)
} print_insn_x86 (pc, info, 1, 1);
else if (info->mach == bfd_mach_i386_i8086)
int print_insn_x86 (pc, info, 0, 0);
print_insn_i8086 (pc, info) else
bfd_vma pc; abort ();
disassemble_info *info;
{
print_insn_x86 (pc, info, 0, 0);
} }
int int