microblaze-dis.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* Disassemble Xilinx microblaze instructions.
  2. Copyright (C) 2009-2022 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, bool, int,
  24. long, long, long,
  25. bool *, bool *);
  26. extern enum microblaze_instr get_insn_microblaze (long, bool *,
  27. enum microblaze_instr_type *,
  28. short *);
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif /* microblaze-dis.h */