microblaze-dis.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* Disassemble Xilinx microblaze instructions.
  2. Copyright (C) 2009-2015 Free Software Foundation, Inc.
  3. This file is part of the GNU opcodes library.
  4. This library is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3, or (at your option)
  7. any later version.
  8. It is distributed in the hope that it will be useful, but WITHOUT
  9. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  11. License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this file; see the file COPYING. If not, write to the
  14. Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
  15. MA 02110-1301, USA. */
  16. #ifndef MICROBLAZE_DIS_H
  17. #define MICROBLAZE_DIS_H 1
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. extern enum microblaze_instr microblaze_decode_insn (long, int *, int *,
  22. int *, int *);
  23. extern unsigned long microblaze_get_target_address (long, bfd_boolean, int,
  24. long, long, long, bfd_boolean *, bfd_boolean *);
  25. extern enum microblaze_instr get_insn_microblaze (long, bfd_boolean *,
  26. enum microblaze_instr_type *,
  27. short *);
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif /* microblaze-dis.h */