Home | History | Annotate | Download | only in opcodes
      1 /* Disassemble Xilinx microblaze instructions.
      2 
      3    Copyright (C) 2009-2016 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 #ifdef __cplusplus
     26 extern "C" {
     27 #endif
     28 
     29 extern enum microblaze_instr microblaze_decode_insn (long, int *, int *,
     30 						     int *, int *);
     31 extern unsigned long microblaze_get_target_address (long, bfd_boolean, int,
     32 			       long, long, long, bfd_boolean *, bfd_boolean *);
     33 
     34 extern enum microblaze_instr get_insn_microblaze (long, bfd_boolean *,
     35 						  enum microblaze_instr_type *,
     36   		     				  short *);
     37 
     38 #ifdef __cplusplus
     39 }
     40 #endif
     41 
     42 #endif /* microblaze-dis.h */
     43