Skip to content
Permalink
Browse files

Template sources and headers for LKV373A

  • Loading branch information...
v3l0c1r4pt0r committed Dec 30, 2017
1 parent b915c26 commit 9f51bee147d402c3781373989913610576623c1b
Showing with 105 additions and 0 deletions.
  1. +42 −0 opcodes/lkv373a-dis.c
  2. +34 −0 opcodes/lkv373a-dis.h
  3. +29 −0 opcodes/lkv373a-opc.h
@@ -0,0 +1,42 @@
/* Disassemble LKV373A microblaze instructions.
Copyright (C) 2009-2017 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. */


#include "sysdep.h"
#define STATIC_TABLE
#define DEFINE_TABLE

#include "disassemble.h"
#include <strings.h>
#include "lkv373a-opc.h"
#include "lkv373a-dis.h"



int
print_insn_lkv373a (bfd_vma memaddr, struct disassemble_info * info)
{
fprintf_ftype print = info->fprintf_func;
void * fd = info->stream;

/* Say how many bytes we consumed. */
return 4;
}
@@ -0,0 +1,34 @@
/* Disassemble LKV373A microblaze instructions.
Copyright (C) 2009-2017 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 LKV373A_DIS_H
#define LKV373A_DIS_H 1

#ifdef __cplusplus
extern "C" {
#endif


#ifdef __cplusplus
}
#endif

#endif /* lkv373a-dis.h */
@@ -0,0 +1,29 @@
/* lkv373a-opc.h -- LKV373A Opcodes
Copyright (C) 2009-2017 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 LKV373A_OPC
#define LKV373A_OPC



#endif /* LKV373A_OPC */

0 comments on commit 9f51bee

Please sign in to comment.
You can’t perform that action at this time.