Changeset 609 for branches/GNU/src/binutils/include/opcode/ns32k.h
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/include/opcode/ns32k.h
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r608 r609 1 1 /* 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. 3 3 4 4 This file is part of GAS, the GNU Assembler. … … 38 38 The operands in the source instruction are checked for inconsistent 39 39 semantics. 40 40 41 41 F : 32 bit float general form 42 42 L : 64 bit float " … … 81 81 */ 82 82 struct ns32k_opcode { 83 c har *name;83 char *name; 84 84 unsigned char opcode_id_size; /* not used by the assembler */ 85 85 unsigned char opcode_size; 86 86 unsigned long opcode_seed; 87 c har *operands;87 char *operands; 88 88 unsigned char im_size; /* not used by dissassembler */ 89 c har *default_args;/* default to those args when none given */89 c /* default to those args when none given */ 90 90 char default_modec; /* default to this addr-mode when ambigous 91 91 ie when the argument of a general addr-mode … … 104 104 /* particular opcode */ 105 105 { 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 c har *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 */ 110 110 }; 111 111 112 112 struct not /* ns32k opcode text */ 113 113 { 114 c har * 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] */ 116 116 }; 117 117 118 118 /* Instructions look like this: 119 119 120 120 basic instruction--1, 2, or 3 bytes 121 121 index byte for operand A, if operand A is indexed--1 byte … … 131 131 132 132 Each operand has a digit and a letter. 133 133 134 134 The digit gives the position in the assembly language. The letter, 135 135 one of the following, tells us what kind of operand it is. */ … … 483 483 }; 484 484 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 489 485 #define MAX_ARGS 4 490 486 #define ARG_LEN 50 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
