summaryrefslogtreecommitdiffstats
path: root/opcodes/microblaze-dis.h
blob: 4742bbcc05903fb5a60e21a92391eba177d6538e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* Disassemble Xilinx microblaze instructions.

   Copyright 2009 Free Software Foundation, Inc.

   This file is part of the GNU opcodes library.

   This library is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3, or (at your option)
   any later version.

   It is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   License for more details.

   You should have received a copy of the GNU General Public License
   along with this file; see the file COPYING.  If not, write to the
   Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
   MA 02110-1301, USA.  */

#ifndef MICROBLAZE_DIS_H
#define MICROBLAZE_DIS_H 1

extern enum microblaze_instr microblaze_decode_insn (long, int *, int *, 
						     int *, int *);
extern unsigned long microblaze_get_target_address (long, bfd_boolean, int,
			       long, long, long, bfd_boolean *, bfd_boolean *);

extern enum microblaze_instr get_insn_microblaze (long, bfd_boolean *, 
						  enum microblaze_instr_type *,
  		     				  short *);

#endif /* microblaze-dis.h */
OpenPOWER on IntegriCloud