xref: /original-bsd/old/adb/adb.tahoe/instrs.adb (revision 1ff91bf0)
1/*-
2 * Copyright (c) 1980 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.proprietary.c%
6 *
7 *	@(#)instrs.adb	5.1 (Berkeley) 04/04/91
8 */
9
10OP("adda",0x8e,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
11OP("addb2",0x08,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
12OP("addb3",0x18,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
13OP("addd",0xc7,1,ACCR+TYPD,0,0,0,0,0),
14OP("addf",0xc6,1,ACCR+TYPF,0,0,0,0,0),
15OP("addl2",0x0c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
16OP("addl3",0x1c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
17OP("addw2",0x0a,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
18OP("addw3",0x1a,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
19OP("adwc",0x8d,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
20OP("andb2",0xa8,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
21OP("andb3",0xb8,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
22OP("andl2",0xac,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
23OP("andl3",0xbc,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
24OP("andw2",0xaa,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
25OP("andw3",0xba,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
26OP("aobleq",0x3f,3,ACCR+TYPL,ACCM+TYPL,ACCB+TYPW,0,0,0),
27OP("aoblss",0x2f,3,ACCR+TYPL,ACCM+TYPL,ACCB+TYPW,0,0,0),
28OP("atanf",0x25,0,0,0,0,0,0,0),
29OP("bbc",0x1e,3,ACCR+TYPL,ACCR+TYPL,ACCB+TYPW,0,0,0),
30OP("bbs",0x0e,3,ACCR+TYPL,ACCR+TYPL,ACCB+TYPW,0,0,0),
31OP("bbssi",0x5f,3,ACCR+TYPL,ACCM+TYPL,ACCB+TYPW,0,0,0),
32OP("bcc",0xf1,1,ACCB+TYPB,0,0,0,0,0),
33OP("bcs",0xe1,1,ACCB+TYPB,0,0,0,0,0),
34OP("beql",0x31,1,ACCB+TYPB,0,0,0,0,0),
35OP("beqlu",0x31,1,ACCB+TYPB,0,0,0,0,0),
36OP("bgeq",0x81,1,ACCB+TYPB,0,0,0,0,0),
37OP("bgequ",0xe1,1,ACCB+TYPB,0,0,0,0,0),
38OP("bgtr",0x41,1,ACCB+TYPB,0,0,0,0,0),
39OP("bgtru",0xa1,1,ACCB+TYPB,0,0,0,0,0),
40OP("bicpsw",0x9b,1,ACCR+TYPW,0,0,0,0,0),
41OP("bispsw",0x8b,1,ACCR+TYPW,0,0,0,0,0),
42OP("bitb",0x39,2,ACCR+TYPB,ACCR+TYPB,0,0,0,0),
43OP("bitl",0x3d,2,ACCR+TYPL,ACCR+TYPL,0,0,0,0),
44OP("bitw",0x3b,2,ACCR+TYPW,ACCR+TYPW,0,0,0,0),
45OP("bleq",0x51,1,ACCB+TYPB,0,0,0,0,0),
46OP("blequ",0xb1,1,ACCB+TYPB,0,0,0,0,0),
47OP("blss",0x91,1,ACCB+TYPB,0,0,0,0,0),
48OP("blssu",0xf1,1,ACCB+TYPB,0,0,0,0,0),
49OP("bneq",0x21,1,ACCB+TYPB,0,0,0,0,0),
50OP("bnequ",0x21,1,ACCB+TYPB,0,0,0,0,0),
51OP("bpt",0x30,0,0,0,0,0,0,0),
52OP("brb",0x11,1,ACCB+TYPB,0,0,0,0,0),
53OP("brw",0x13,1,ACCB+TYPW,0,0,0,0,0),
54OP("btcs",0xce,1,ACCR+TYPB,0,0,0,0,0),
55OP("bvc",0xc1,1,ACCB+TYPB,0,0,0,0,0),
56OP("bvs",0xd1,1,ACCB+TYPB,0,0,0,0,0),
57OP("callf",0xfe,2,ACCR+TYPB,ACCA+TYPB,0,0,0,0),
58OP("calls",0xbf,2,ACCR+TYPB,ACCA+TYPB,0,0,0,0),
59OP("casel",0xfc,3,ACCR+TYPL,ACCR+TYPL,ACCR+TYPL,0,0,0),
60OP("clrb",0x49,1,ACCW+TYPB,0,0,0,0,0),
61OP("clrl",0x4d,1,ACCW+TYPL,0,0,0,0,0),
62OP("clrw",0x4b,1,ACCW+TYPW,0,0,0,0,0),
63OP("cmpb",0x19,2,ACCR+TYPB,ACCR+TYPB,0,0,0,0),
64OP("cmpd",0x37,1,ACCR+TYPD,0,0,0,0,0),
65OP("cmpd2",0x47,2,ACCR+TYPD,ACCR+TYPD,0,0,0,0),
66OP("cmpf",0x36,1,ACCR+TYPF,0,0,0,0,0),
67OP("cmpf2",0x46,2,ACCR+TYPF,ACCR+TYPF,0,0,0,0),
68OP("cmpl",0x1d,2,ACCR+TYPL,ACCR+TYPL,0,0,0,0),
69OP("cmps2",0x92,0,0,0,0,0,0,0),
70OP("cmps3",0xd2,0,0,0,0,0,0,0),
71OP("cmpw",0x1b,2,ACCR+TYPW,ACCR+TYPW,0,0,0,0),
72OP("cosf",0x15,0,0,0,0,0,0,0),
73OP("cvdf",0xa6,0,0,0,0,0,0,0),
74OP("cvdl",0x87,1,ACCW+TYPL,0,0,0,0,0),
75OP("cvfl",0x86,1,ACCW+TYPL,0,0,0,0,0),
76OP("cvld",0x77,1,ACCR+TYPL,0,0,0,0,0),
77OP("cvlf",0x76,1,ACCR+TYPL,0,0,0,0,0),
78OP("cvtbl",0x89,2,ACCR+TYPB,ACCW+TYPL,0,0,0,0),
79OP("cvtbw",0x99,2,ACCR+TYPB,ACCW+TYPW,0,0,0,0),
80OP("cvtlb",0x6f,2,ACCR+TYPL,ACCW+TYPB,0,0,0,0),
81OP("cvtlw",0x7f,2,ACCR+TYPL,ACCW+TYPW,0,0,0,0),
82OP("cvtwb",0x33,2,ACCR+TYPW,ACCW+TYPB,0,0,0,0),
83OP("cvtwl",0x23,2,ACCR+TYPW,ACCW+TYPL,0,0,0,0),
84OP("decb",0x79,1,ACCM+TYPB,0,0,0,0,0),
85OP("decl",0x7d,1,ACCM+TYPL,0,0,0,0,0),
86OP("decw",0x7b,1,ACCM+TYPW,0,0,0,0,0),
87OP("divd",0xf7,1,ACCR+TYPD,0,0,0,0,0),
88OP("divf",0xf6,1,ACCR+TYPF,0,0,0,0,0),
89OP("divl2",0x6c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
90OP("divl3",0x7c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
91OP("ediv",0x3e,4,ACCR+TYPL,ACCR+TYPQ,ACCW+TYPL,ACCW+TYPL,0,0),
92OP("emul",0x2e,4,ACCR+TYPL,ACCR+TYPL,ACCR+TYPL,ACCW+TYPQ,0,0),
93OP("expf",0x55,0,0,0,0,0,0,0),
94OP("ffc",0xbe,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
95OP("ffs",0xae,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
96OP("halt",0x00,0,0,0,0,0,0,0),
97OP("incb",0x69,1,ACCM+TYPB,0,0,0,0,0),
98OP("incl",0x6d,1,ACCM+TYPL,0,0,0,0,0),
99OP("incw",0x6b,1,ACCM+TYPW,0,0,0,0,0),
100OP("insque",0xe0,2,ACCA+TYPL,ACCA+TYPL,0,0,0,0),
101OP("jmp",0x71,1,ACCA+TYPB,0,0,0,0,0),
102OP("kcall",0xcf,1,ACCR+TYPW,0,0,0,0,0),
103OP("ldd",0x07,1,ACCR+TYPD,0,0,0,0,0),
104OP("ldf",0x06,1,ACCR+TYPF,0,0,0,0,0),
105OP("ldfd",0x97,1,ACCR+TYPF,0,0,0,0,0),
106OP("ldpctx",0x60,0,0,0,0,0,0,0),
107OP("lnd",0x17,1,ACCR+TYPD,0,0,0,0,0),
108OP("lnf",0x16,1,ACCR+TYPF,0,0,0,0,0),
109OP("loadr",0xab,2,ACCR+TYPW,ACCA+TYPL,0,0,0,0),
110OP("logf",0x35,0,0,0,0,0,0,0),
111OP("mcomb",0x29,2,ACCR+TYPB,ACCW+TYPB,0,0,0,0),
112OP("mcoml",0x2d,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
113OP("mcomw",0x2b,2,ACCR+TYPW,ACCW+TYPW,0,0,0,0),
114OP("mfpr",0xbd,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
115OP("mnegb",0xe8,2,ACCR+TYPB,ACCW+TYPB,0,0,0,0),
116OP("mnegl",0xec,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
117OP("mnegw",0xea,2,ACCR+TYPW,ACCW+TYPW,0,0,0,0),
118OP("movab",0xe9,2,ACCA+TYPB,ACCW+TYPL,0,0,0,0),
119OP("moval",0xed,2,ACCA+TYPL,ACCW+TYPL,0,0,0,0),
120OP("movaw",0xeb,2,ACCA+TYPW,ACCW+TYPL,0,0,0,0),
121OP("movb",0x09,2,ACCR+TYPB,ACCW+TYPB,0,0,0,0),
122OP("movblk",0xf8,0,0,0,0,0,0,0),
123OP("movl",0x0d,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
124OP("movob",0xc9,2,ACCR+TYPB,ACCW+TYPB,0,0,0,0),
125OP("movow",0xcb,2,ACCR+TYPW,ACCW+TYPW,0,0,0,0),
126OP("movpsl",0xcd,1,ACCW+TYPL,0,0,0,0,0),
127OP("movs2",0x82,0,0,0,0,0,0,0),
128OP("movs3",0xc2,0,0,0,0,0,0,0),
129OP("movw",0x0b,2,ACCR+TYPW,ACCW+TYPW,0,0,0,0),
130OP("movzbl",0xa9,2,ACCR+TYPB,ACCW+TYPL,0,0,0,0),
131OP("movzbw",0xb9,2,ACCR+TYPB,ACCW+TYPW,0,0,0,0),
132OP("movzwl",0xc3,2,ACCR+TYPW,ACCW+TYPL,0,0,0,0),
133OP("mtpr",0xad,2,ACCR+TYPL,ACCR+TYPL,0,0,0,0),
134OP("muld",0xe7,1,ACCR+TYPD,0,0,0,0,0),
135OP("mulf",0xe6,1,ACCR+TYPF,0,0,0,0,0),
136OP("mull2",0x4c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
137OP("mull3",0x5c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
138OP("negd",0xb7,0,0,0,0,0,0,0),
139OP("negf",0xb6,0,0,0,0,0,0,0),
140OP("nop",0x10,0,0,0,0,0,0,0),
141OP("orb2",0x88,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
142OP("orb3",0x98,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
143OP("orl2",0x8c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
144OP("orl3",0x9c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
145OP("orw2",0x8a,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
146OP("orw3",0x9a,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
147OP("prober",0xc0,3,ACCR+TYPB,ACCA+TYPB,ACCR+TYPL,0,0,0),
148OP("probew",0xd0,3,ACCR+TYPB,ACCA+TYPB,ACCR+TYPL,0,0,0),
149OP("pushab",0xf9,1,ACCA+TYPB,0,0,0,0,0),
150OP("pushal",0xfd,1,ACCA+TYPL,0,0,0,0,0),
151OP("pushaw",0xfb,1,ACCA+TYPW,0,0,0,0,0),
152OP("pushb",0xd9,1,ACCR+TYPB,0,0,0,0,0),
153OP("pushd",0x67,0,0,0,0,0,0,0),
154OP("pushl",0xdd,1,ACCR+TYPL,0,0,0,0,0),
155OP("pushw",0xdb,1,ACCR+TYPW,0,0,0,0,0),
156OP("rei",0x20,0,0,0,0,0,0,0),
157OP("remque",0xf0,1,ACCA+TYPL,0,0,0,0,0),
158OP("ret",0x40,0,0,0,0,0,0,0),
159OP("sbwc",0x9d,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
160OP("shal",0x4e,3,ACCR+TYPB,ACCR+TYPL,ACCW+TYPL,0,0,0),
161OP("shar",0x5e,3,ACCR+TYPB,ACCR+TYPL,ACCW+TYPL,0,0,0),
162OP("shll",0x48,3,ACCR+TYPB,ACCR+TYPL,ACCW+TYPL,0,0,0),
163OP("shlq",0x4a,3,ACCR+TYPB,ACCR+TYPQ,ACCW+TYPQ,0,0,0),
164OP("shrl",0x58,3,ACCR+TYPB,ACCR+TYPL,ACCW+TYPL,0,0,0),
165OP("shrq",0x5a,3,ACCR+TYPB,ACCR+TYPQ,ACCW+TYPQ,0,0,0),
166OP("sinf",0x05,0,0,0,0,0,0,0),
167OP("sqrtf",0x45,0,0,0,0,0,0,0),
168OP("std",0x27,1,ACCW+TYPD,0,0,0,0,0),
169OP("stf",0x26,1,ACCW+TYPF,0,0,0,0,0),
170OP("storer",0xbb,2,ACCR+TYPW,ACCA+TYPL,0,0,0,0),
171OP("suba",0x9e,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
172OP("subb2",0x28,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
173OP("subb3",0x38,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
174OP("subd",0xd7,1,ACCR+TYPD,0,0,0,0,0),
175OP("subf",0xd6,1,ACCR+TYPF,0,0,0,0,0),
176OP("subl2",0x2c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
177OP("subl3",0x3c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
178OP("subw2",0x2a,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
179OP("subw3",0x3a,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
180OP("svpctx",0x70,0,0,0,0,0,0,0),
181OP("tstb",0x59,1,ACCR+TYPB,0,0,0,0,0),
182OP("tstd",0x57,0,0,0,0,0,0,0),
183OP("tstf",0x56,0,0,0,0,0,0,0),
184OP("tstl",0x5d,1,ACCR+TYPL,0,0,0,0,0),
185OP("tstw",0x5b,1,ACCR+TYPW,0,0,0,0,0),
186OP("xorb2",0xc8,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
187OP("xorb3",0xd8,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
188OP("xorl2",0xcc,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
189OP("xorl3",0xdc,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
190OP("xorw2",0xca,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
191OP("xorw3",0xda,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
192