OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [gdb-5.0/] [utils/] [amd-udi/] [mondfe/] [opcodes.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
static char _[] = "@(#)opcodes.c        5.21 93/08/10 17:46:46,Srini, AMD.";
2
/******************************************************************************
3
 * Copyright 1991 Advanced Micro Devices, Inc.
4
 *
5
 * This software is the property of Advanced Micro Devices, Inc  (AMD)  which
6
 * specifically  grants the user the right to modify, use and distribute this
7
 * software provided this notice is not removed or altered.  All other rights
8
 * are reserved by AMD.
9
 *
10
 * AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
11
 * SOFTWARE.  IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
12
 * DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
13
 * USE OF THIS SOFTWARE.
14
 *
15
 * So that all may benefit from your experience, please report  any  problems
16
 * or  suggestions about this software to the 29K Technical Support Center at
17
 * 800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131  in  the  UK,  or
18
 * 0031-11-1129 in Japan, toll free.  The direct dial number is 512-462-4118.
19
 *
20
 * Advanced Micro Devices, Inc.
21
 * 29K Support Products
22
 * Mail Stop 573
23
 * 5900 E. Ben White Blvd.
24
 * Austin, TX 78741
25
 * 800-292-9263
26
 *****************************************************************************
27
 *      Engineer: Srini Subramanian.
28
 *****************************************************************************
29
 **       This file contains a data structure which gives the ASCII
30
 **       string associated with each Am29000 opcode.  These strings
31
 **       are all in lower case.  The string associated with illegal
32
 **       opcodes are null ("").  Opcodes are sorted in numerical
33
 **       order.
34
 **
35
 *****************************************************************************
36
 */
37
char *opcode_name[] =
38
   {
39
 
40
   /* Opcodes 0x00 to 0x0F */
41
   "",            "constn  ",    "consth  ",    "const   ",
42
   "mtsrim  ",    "consthz ",    "loadl   ",    "loadl   ",
43
   "clz     ",    "clz     ",    "exbyte  ",    "exbyte  ",
44
   "inbyte  ",    "inbyte  ",    "storel  ",    "storel  ",
45
 
46
   /* Opcodes 0x10 to 0x1F */
47
   "adds    ",    "adds    ",    "addu    ",    "addu    ",
48
   "add     ",    "add     ",    "load    ",    "load    ",
49
   "addcs   ",    "addcs   ",    "addcu   ",    "addcu   ",
50
   "addc    ",    "addc    ",    "store   ",    "store   ",
51
 
52
   /* Opcodes 0x20 to 0x2F */
53
   "subs    ",    "subs    ",    "subu    ",    "subu    ",
54
   "sub     ",    "sub     ",    "loadset ",    "loadset ",
55
   "subcs   ",    "subcs   ",    "subcu   ",    "subcu   ",
56
   "subc    ",    "subc    ",    "cpbyte  ",    "cpbyte  ",
57
 
58
   /* Opcodes 0x30 to 0x3F */
59
   "subrs   ",    "subrs   ",    "subru   ",    "subru   ",
60
   "subr    ",    "subr    ",    "loadm   ",    "loadm   ",
61
   "subrcs  ",    "subrcs  ",    "subrcu  ",    "subrcu  ",
62
   "subrc   ",    "subrc   ",    "storem  ",    "storem  ",
63
 
64
   /* Opcodes 0x40 to 0x4F */
65
   "cplt    ",    "cplt    ",    "cpltu   ",    "cpltu   ",
66
   "cple    ",    "cple    ",    "cpleu   ",    "cpleu   ",
67
   "cpgt    ",    "cpgt    ",    "cpgtu   ",    "cpgtu   ",
68
   "cpge    ",    "cpge    ",    "cpgeu   ",    "cpgeu   ",
69
 
70
   /* Opcodes 0x50 to 0x5F */
71
   "aslt    ",    "aslt    ",    "asltu   ",    "asltu   ",
72
   "asle    ",    "asle    ",    "asleu   ",    "asleu   ",
73
   "asgt    ",    "asgt    ",    "asgtu   ",    "asgtu   ",
74
   "asge    ",    "asge    ",    "asgeu   ",    "asgeu   ",
75
 
76
   /* Opcodes 0x60 to 0x6F */
77
   "cpeq    ",    "cpeq    ",    "cpneq   ",    "cpneq   ",
78
   "mul     ",    "mul     ",    "mull    ",    "mull    ",
79
   "div0    ",    "div0    ",    "div     ",    "div     ",
80
   "divl    ",    "divl    ",    "divrem  ",    "divrem  ",
81
 
82
   /* Opcodes 0x70 to 0x7F */
83
   "aseq    ",    "aseq    ",    "asneq   ",    "asneq   ",
84
   "mulu    ",    "mulu    ",    "",            "",
85
   "inhw    ",    "inhw    ",    "extract ",    "extract ",
86
   "exhw    ",    "exhw    ",    "exhws   ",    "",
87
 
88
   /* Opcodes 0x80 to 0x8F */
89
   "sll     ",    "sll     ",    "srl     ",    "srl     ",
90
   "",            "",            "sra     ",    "sra     ",
91
   "iret    ",    "halt    ",    "",            "",
92
   "iretinv ",    "",            "",            "",
93
 
94
   /* Opcodes 0x90 to 0x9F */
95
   "and     ",    "and     ",    "or      ",    "or      ",
96
   "xor     ",    "xor     ",    "xnor    ",    "xnor    ",
97
   "nor     ",    "nor     ",    "nand    ",    "nand    ",
98
   "andn    ",    "andn    ",    "setip   ",    "inv     ",
99
 
100
   /* Opcodes 0xA0 to 0xAF */
101
   "jmp     ",    "jmp     ",    "",            "",
102
   "jmpf    ",    "jmpf    ",    "",            "",
103
   "call    ",    "call    ",    "orn     ",    "orn     ",
104
   "jmpt    ",    "jmpt    ",    "",            "",
105
 
106
   /* Opcodes 0xB0 to 0xBF */
107
   "",            "",            "",            "",
108
   "jmpfdec ",    "jmpfdec ",    "mftlb   ",    "",
109
   "",            "",            "",            "",
110
   "",            "",            "mttlb   ",    "",
111
 
112
   /* Opcodes 0xC0 to 0xCF */
113
   "jmpi    ",    "",            "",            "",
114
   "jmpfi   ",    "",            "mfsr    ",    "",
115
   "calli   ",    "",            "",            "",
116
   "jmpti   ",    "",            "mtsr    ",    "",
117
 
118
   /* Opcodes 0xD0 to 0xDF */
119
   "",            "",            "",            "",
120
   "",            "",            "",            "emulate ",
121
   "",            "",            "",            "",
122
   "",            "",            "multm   ",    "multmu  ",
123
 
124
   /* Opcodes 0xE0 to 0xEF */
125
   "multiply",    "divide  ",    "multiplu",    "dividu  ",
126
   "convert ",    "sqrt    ",    "class   ",    "",
127
   "",            "",            "feq     ",    "deq     ",
128
   "fgt     ",    "dgt     ",    "fge     ",    "dge     ",
129
 
130
   /* Opcodes 0xF0 to 0xFF */
131
   "fadd    ",    "dadd    ",    "fsub    ",    "dsub    ",
132
   "fmul    ",    "dmul    ",    "fdiv    ",    "ddiv    ",
133
   "",            "fdmul   ",    "",            "",
134
   "",            "",            "",            ""
135
   };
136
 
137
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.