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