Home | History | Annotate | Download | only in opcodes

Lines Matching refs:info

54   (p += 1, FETCH_DATA (info, p), \
60 (p += 2, FETCH_DATA (info, p), \
66 (p += 4, FETCH_DATA (info, p), \
81 /* Make sure that bytes from INFO->PRIVATE_DATA->BUFFER (inclusive)
84 #define FETCH_DATA(info, addr) \
85 ((addr) <= ((struct private *)(info->private_data))->max_fetched \
86 ? 1 : fetch_data ((info), (addr)))
89 fetch_data (struct disassemble_info *info, bfd_byte *addr)
92 struct private *priv = (struct private *) info->private_data;
95 status = (*info->read_memory_func) (start,
98 info);
101 (*info->memory_error_func) (status, start, info);
183 is_function_entry (struct disassemble_info *info, bfd_vma addr)
188 if (info->symbols
189 && info->symbols[0]
190 && (info->symbols[0]->flags & (BSF_FUNCTION | BSF_SYNTHETIC))
191 && addr == bfd_asymbol_value (info->symbols[0]))
207 is_plt_tail (struct disassemble_info *info, bfd_vma addr)
209 if (info->symbols
210 && info->symbols[0]
211 && (info->symbols[0]->flags & BSF_SYNTHETIC)
212 && addr == bfd_asymbol_value (info->symbols[0]) + 8)
223 disassemble_info *info)
238 (*info->fprintf_func) (info->stream, "$0x%x [%c-float]", mode, d[1]);
240 (*info->fprintf_func) (info->stream, "$0x%x", mode);
243 p += print_insn_mode (d, size, p0 + 1, addr + 1, info);
244 (*info->fprintf_func) (info->stream, "[%s]", reg_names[reg]);
247 (*info->fprintf_func) (info->stream, "%s", reg_names[reg]);
250 (*info->fprintf_func) (info->stream, "(%s)", reg_names[reg]);
253 (*info->fprintf_func) (info->stream, "-(%s)", reg_names[reg]);
260 FETCH_DATA (info, p + size);
261 (*info->fprintf_func) (info->stream, "$0x");
270 (*info->fprintf_func) (info->stream, "[invalid %c-float]",
276 (*info->fprintf_func) (info->stream, "%02x",
278 (*info->fprintf_func) (info->stream, " [%c-float]", d[1]);
284 (*info->fprintf_func) (info->stream, "%02x", p[size - i - 1]);
289 (*info->fprintf_func) (info->stream, "(%s)+", reg_names[reg]);
293 (*info->fprintf_func) (info->stream, "*0x%x", NEXTLONG (p));
295 (*info->fprintf_func) (info->stream, "@(%s)+", reg_names[reg]);
298 (*info->fprintf_func) (info->stream, "*");
301 (*info->print_address_func) (addr + 2 + NEXTBYTE (p), info);
303 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTBYTE (p),
307 (*info->fprintf_func) (info->stream, "*");
310 (*info->print_address_func) (addr + 3 + NEXTWORD (p), info);
312 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTWORD (p),
316 (*info->fprintf_func) (info->stream, "*");
319 (*info->print_address_func) (addr + 5 + NEXTLONG (p), info);
321 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTLONG (p),
337 disassemble_info *info)
362 (*info->print_address_func) (addr + 1 + NEXTBYTE (p), info);
364 (*info->print_address_func) (addr + 2 + NEXTWORD (p), info);
369 return print_insn_mode (d, arg_len, p0, addr, info);
373 on INFO->STREAM. Returns length of the instruction, in bytes. */
376 print_insn_vax (bfd_vma memaddr, disassemble_info *info)
385 info->private_data = & priv;
390 && info->disassembler_options != NULL)
392 parse_disassembler_options (info->disassembler_options);
403 /* Check if the info buffer has more than one byte left since
405 if (info->buffer_length - (memaddr - info->buffer_vma) > 1
406 && (info->stop_vma == 0 || memaddr < (info->stop_vma - 1)))
408 FETCH_DATA (info, buffer + 2);
412 FETCH_DATA (info, buffer + 1);
417 if (is_function_entry (info, memaddr))
422 (*info->fprintf_func) (info->stream, ".word 0x%04x # Entry mask: <",
427 (*info->fprintf_func) (info->stream, " %s", entry_mask_bit[i]);
429 (*info->fprintf_func) (info->stream, " >");
435 if (is_plt_tail (info, memaddr))
439 FETCH_DATA (info, buffer + 4);
441 (*info->fprintf_func) (info->stream, ".long 0x%08x", offset);
461 (*info->fprintf_func) (info->stream, ".word 0x%x",
471 FETCH_DATA (info, arg);
473 (*info->fprintf_func) (info->stream, "%s", votp->name);
475 (*info->fprintf_func) (info->stream, " ");
479 arg += print_insn_arg (argp, arg, memaddr + arg - buffer, info);
482 (*info->fprintf_func) (info->stream, ",");