[BACK]Return to moxie.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / gpl3 / binutils / dist / include / opcode

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/external/gpl3/binutils/dist/include/opcode/moxie.h between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2011/09/24 22:22:41 version 1.1.1.2, 2016/01/29 12:45:11
Line 1 
Line 1 
 /* Definitions for decoding the moxie opcode table.  /* Definitions for decoding the moxie opcode table.
    Copyright 2009 Free Software Foundation, Inc.     Copyright (C) 2009-2015 Free Software Foundation, Inc.
    Contributed by Anthony Green (green@moxielogic.com).     Contributed by Anthony Green (green@moxielogic.com).
   
    This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
Line 28 
Line 28 
     Some use B and an indirect A                    (MOXIE_F1_AiB)      Some use B and an indirect A                    (MOXIE_F1_AiB)
     Some use A and an indirect B                    (MOXIE_F1_ABi)      Some use A and an indirect B                    (MOXIE_F1_ABi)
     Some consume a 4 byte immediate value and use X (MOXIE_F1_4A)      Some consume a 4 byte immediate value and use X (MOXIE_F1_4A)
     Some use B and an indirect A plus 4 bytes       (MOXIE_F1_AiB4)      Some use B and an indirect A plus 2 byte offset (MOXIE_F1_AiB2)
     Some use A and an indirect B plus 4 bytes       (MOXIE_F1_ABi4)      Some use A and an indirect B plus 2 byte offset (MOXIE_F1_ABi2)
   
   Form 2 instructions also come in different flavors:    Form 2 instructions also come in different flavors:
   
Line 50 
Line 50 
 #define MOXIE_F1_AiB  0x106  #define MOXIE_F1_AiB  0x106
 #define MOXIE_F1_ABi  0x107  #define MOXIE_F1_ABi  0x107
 #define MOXIE_F1_4A   0x108  #define MOXIE_F1_4A   0x108
 #define MOXIE_F1_AiB4 0x109  #define MOXIE_F1_AiB2 0x109
 #define MOXIE_F1_ABi4 0x10a  #define MOXIE_F1_ABi2 0x10a
 #define MOXIE_F1_M    0x10b  #define MOXIE_F1_M    0x10b
   
 #define MOXIE_F2_NARG 0x200  #define MOXIE_F2_NARG 0x200
Line 60 
Line 60 
 #define MOXIE_F3_NARG  0x300  #define MOXIE_F3_NARG  0x300
 #define MOXIE_F3_PCREL 0x301  #define MOXIE_F3_PCREL 0x301
   
   #define MOXIE_BAD     0x400
   
 typedef struct moxie_opc_info_t  typedef struct moxie_opc_info_t
 {  {
   short         opcode;    short         opcode;
Line 67  typedef struct moxie_opc_info_t
Line 69  typedef struct moxie_opc_info_t
   const char *  name;    const char *  name;
 } moxie_opc_info_t;  } moxie_opc_info_t;
   
 extern const moxie_opc_info_t moxie_form1_opc_info[64];  extern const moxie_opc_info_t moxie_form1_opc_info[128];
 extern const moxie_opc_info_t moxie_form2_opc_info[4];  extern const moxie_opc_info_t moxie_form2_opc_info[4];
 extern const moxie_opc_info_t moxie_form3_opc_info[16];  extern const moxie_opc_info_t moxie_form3_opc_info[16];

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

CVSweb <webmaster@jp.NetBSD.org>