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