# | Line 166 | Line 166 | int disass_68k(FILE *f, uint32 adr) | |
---|---|---|
166 | return num; | |
167 | } | |
168 | ||
169 | < | int disass_x86(FILE *f, uint32 adr) |
169 | > | int disass_x86(FILE *f, uint32 adr, bool i8086) |
170 | { | |
171 | // Initialize info for GDB disassembler | |
172 | disassemble_info info; | |
# | Line 175 | Line 175 | int disass_x86(FILE *f, uint32 adr) | |
175 | sfile.buffer = buf; | |
176 | sfile.current = buf; | |
177 | INIT_DISASSEMBLE_INFO(info, (FILE *)&sfile, (fprintf_ftype)mon_sprintf); | |
178 | + | if (i8086) |
179 | + | info.mach = bfd_mach_i386_i8086; |
180 | ||
181 | // Disassemble instruction | |
182 | lookup_lowmem = false; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |