Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/include/opcode/ns32k.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* ns32k-opcode.h -- Opcode table for National Semi 32k processor
    2    Copyright 1987, 1991, 1994 Free Software Foundation, Inc.
     2   Copyright 1987, 1991, 1994 Free Software Foundation, Inc.
    33
    44This file is part of GAS, the GNU Assembler.
     
    3838   The operands in the source instruction are checked for inconsistent
    3939   semantics.
    40  
     40
    4141        F : 32 bit float        general form
    4242        L : 64 bit float            "
     
    8181*/
    8282struct ns32k_opcode {
    83   char *name;
     83  char *name;
    8484  unsigned char opcode_id_size; /* not used by the assembler */
    8585  unsigned char opcode_size;
    8686  unsigned long opcode_seed;
    87   char *operands;
     87  char *operands;
    8888  unsigned char im_size;        /* not used by dissassembler */
    89   char *default_args;           /* default to those args when none given */
     89  c     /* default to those args when none given */
    9090  char default_modec;           /* default to this addr-mode when ambigous
    9191                                   ie when the argument of a general addr-mode
     
    104104                                /* particular opcode */
    105105{
    106   int obits;            /* number of opcode bits */
    107   int ibits;            /* number of instruction bits */
    108   ns32k_opcodeT code;   /* op-code (may be > 8 bits!) */
    109   char *args;           /* how to compile said opcode */
     106  int obits;            /* number of opcode bits */
     107  int ibits;            /* number of instruction bits */
     108  ns32k_opcodeT        /* op-code (may be > 8 bits!) */
     109  char *args;             /* how to compile said opcode */
    110110};
    111111
    112112struct not                      /* ns32k opcode text */
    113113{
    114   char *            name;       /* opcode name: lowercase string  [key]  */
    115   struct not_wot    detail;     /* rest of opcode table          [datum] */
     114  c        /* opcode name: lowercase string  [key]  */
     115  struct not_wot detail;        /* rest of opcode table          [datum] */
    116116};
    117117
    118118/* Instructions look like this:
    119    
     119
    120120   basic instruction--1, 2, or 3 bytes
    121121   index byte for operand A, if operand A is indexed--1 byte
     
    131131
    132132   Each operand has a digit and a letter.
    133    
     133
    134134   The digit gives the position in the assembly language.  The letter,
    135135   one of the following, tells us what kind of operand it is.  */
     
    483483};
    484484
    485 static const int numopcodes=sizeof(ns32k_opcodes)/sizeof(ns32k_opcodes[0]);
    486 
    487 static const struct ns32k_opcode *const endop = ns32k_opcodes+sizeof(ns32k_opcodes)/sizeof(ns32k_opcodes[0]);
    488 
    489485#define MAX_ARGS 4
    490486#define ARG_LEN 50
Note: See TracChangeset for help on using the changeset viewer.