xref: /csrg-svn/old/adb/adb.tahoe/instrs.adb (revision 47819)
1*47819Sbostic/*-
2*47819Sbostic * Copyright (c) 1980 The Regents of the University of California.
330132Ssam * All rights reserved.
430132Ssam *
5*47819Sbostic * %sccs.include.proprietary.c%
6*47819Sbostic *
7*47819Sbostic *	@(#)instrs.adb	5.1 (Berkeley) 04/04/91
830132Ssam */
930132Ssam
1030132SsamOP("adda",0x8e,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
1130132SsamOP("addb2",0x08,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
1230132SsamOP("addb3",0x18,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
1330132SsamOP("addd",0xc7,1,ACCR+TYPD,0,0,0,0,0),
1430132SsamOP("addf",0xc6,1,ACCR+TYPF,0,0,0,0,0),
1530132SsamOP("addl2",0x0c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
1630132SsamOP("addl3",0x1c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
1730132SsamOP("addw2",0x0a,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
1830132SsamOP("addw3",0x1a,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
1930132SsamOP("adwc",0x8d,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
2030132SsamOP("andb2",0xa8,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
2130132SsamOP("andb3",0xb8,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
2230132SsamOP("andl2",0xac,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
2330132SsamOP("andl3",0xbc,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
2430132SsamOP("andw2",0xaa,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
2530132SsamOP("andw3",0xba,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
2630132SsamOP("aobleq",0x3f,3,ACCR+TYPL,ACCM+TYPL,ACCB+TYPW,0,0,0),
2730132SsamOP("aoblss",0x2f,3,ACCR+TYPL,ACCM+TYPL,ACCB+TYPW,0,0,0),
2830132SsamOP("atanf",0x25,0,0,0,0,0,0,0),
2930132SsamOP("bbc",0x1e,3,ACCR+TYPL,ACCR+TYPL,ACCB+TYPW,0,0,0),
3030132SsamOP("bbs",0x0e,3,ACCR+TYPL,ACCR+TYPL,ACCB+TYPW,0,0,0),
3130132SsamOP("bbssi",0x5f,3,ACCR+TYPL,ACCM+TYPL,ACCB+TYPW,0,0,0),
3230132SsamOP("bcc",0xf1,1,ACCB+TYPB,0,0,0,0,0),
3330132SsamOP("bcs",0xe1,1,ACCB+TYPB,0,0,0,0,0),
3430132SsamOP("beql",0x31,1,ACCB+TYPB,0,0,0,0,0),
3530132SsamOP("beqlu",0x31,1,ACCB+TYPB,0,0,0,0,0),
3630132SsamOP("bgeq",0x81,1,ACCB+TYPB,0,0,0,0,0),
3730132SsamOP("bgequ",0xe1,1,ACCB+TYPB,0,0,0,0,0),
3830132SsamOP("bgtr",0x41,1,ACCB+TYPB,0,0,0,0,0),
3930132SsamOP("bgtru",0xa1,1,ACCB+TYPB,0,0,0,0,0),
4030132SsamOP("bicpsw",0x9b,1,ACCR+TYPW,0,0,0,0,0),
4130132SsamOP("bispsw",0x8b,1,ACCR+TYPW,0,0,0,0,0),
4230132SsamOP("bitb",0x39,2,ACCR+TYPB,ACCR+TYPB,0,0,0,0),
4330132SsamOP("bitl",0x3d,2,ACCR+TYPL,ACCR+TYPL,0,0,0,0),
4430132SsamOP("bitw",0x3b,2,ACCR+TYPW,ACCR+TYPW,0,0,0,0),
4530132SsamOP("bleq",0x51,1,ACCB+TYPB,0,0,0,0,0),
4630132SsamOP("blequ",0xb1,1,ACCB+TYPB,0,0,0,0,0),
4730132SsamOP("blss",0x91,1,ACCB+TYPB,0,0,0,0,0),
4830132SsamOP("blssu",0xf1,1,ACCB+TYPB,0,0,0,0,0),
4930132SsamOP("bneq",0x21,1,ACCB+TYPB,0,0,0,0,0),
5030132SsamOP("bnequ",0x21,1,ACCB+TYPB,0,0,0,0,0),
5130132SsamOP("bpt",0x30,0,0,0,0,0,0,0),
5230132SsamOP("brb",0x11,1,ACCB+TYPB,0,0,0,0,0),
5330132SsamOP("brw",0x13,1,ACCB+TYPW,0,0,0,0,0),
5430132SsamOP("btcs",0xce,1,ACCR+TYPB,0,0,0,0,0),
5530132SsamOP("bvc",0xc1,1,ACCB+TYPB,0,0,0,0,0),
5630132SsamOP("bvs",0xd1,1,ACCB+TYPB,0,0,0,0,0),
5730132SsamOP("callf",0xfe,2,ACCR+TYPB,ACCA+TYPB,0,0,0,0),
5830132SsamOP("calls",0xbf,2,ACCR+TYPB,ACCA+TYPB,0,0,0,0),
5930132SsamOP("casel",0xfc,3,ACCR+TYPL,ACCR+TYPL,ACCR+TYPL,0,0,0),
6030132SsamOP("clrb",0x49,1,ACCW+TYPB,0,0,0,0,0),
6130132SsamOP("clrl",0x4d,1,ACCW+TYPL,0,0,0,0,0),
6230132SsamOP("clrw",0x4b,1,ACCW+TYPW,0,0,0,0,0),
6330132SsamOP("cmpb",0x19,2,ACCR+TYPB,ACCR+TYPB,0,0,0,0),
6430132SsamOP("cmpd",0x37,1,ACCR+TYPD,0,0,0,0,0),
6530132SsamOP("cmpd2",0x47,2,ACCR+TYPD,ACCR+TYPD,0,0,0,0),
6630132SsamOP("cmpf",0x36,1,ACCR+TYPF,0,0,0,0,0),
6730132SsamOP("cmpf2",0x46,2,ACCR+TYPF,ACCR+TYPF,0,0,0,0),
6830132SsamOP("cmpl",0x1d,2,ACCR+TYPL,ACCR+TYPL,0,0,0,0),
6930132SsamOP("cmps2",0x92,0,0,0,0,0,0,0),
7030132SsamOP("cmps3",0xd2,0,0,0,0,0,0,0),
7130132SsamOP("cmpw",0x1b,2,ACCR+TYPW,ACCR+TYPW,0,0,0,0),
7230132SsamOP("cosf",0x15,0,0,0,0,0,0,0),
7330132SsamOP("cvdf",0xa6,0,0,0,0,0,0,0),
7430132SsamOP("cvdl",0x87,1,ACCW+TYPL,0,0,0,0,0),
7530132SsamOP("cvfl",0x86,1,ACCW+TYPL,0,0,0,0,0),
7630132SsamOP("cvld",0x77,1,ACCR+TYPL,0,0,0,0,0),
7730132SsamOP("cvlf",0x76,1,ACCR+TYPL,0,0,0,0,0),
7830132SsamOP("cvtbl",0x89,2,ACCR+TYPB,ACCW+TYPL,0,0,0,0),
7930132SsamOP("cvtbw",0x99,2,ACCR+TYPB,ACCW+TYPW,0,0,0,0),
8030132SsamOP("cvtlb",0x6f,2,ACCR+TYPL,ACCW+TYPB,0,0,0,0),
8130132SsamOP("cvtlw",0x7f,2,ACCR+TYPL,ACCW+TYPW,0,0,0,0),
8230132SsamOP("cvtwb",0x33,2,ACCR+TYPW,ACCW+TYPB,0,0,0,0),
8330132SsamOP("cvtwl",0x23,2,ACCR+TYPW,ACCW+TYPL,0,0,0,0),
8430132SsamOP("decb",0x79,1,ACCM+TYPB,0,0,0,0,0),
8530132SsamOP("decl",0x7d,1,ACCM+TYPL,0,0,0,0,0),
8630132SsamOP("decw",0x7b,1,ACCM+TYPW,0,0,0,0,0),
8730132SsamOP("divd",0xf7,1,ACCR+TYPD,0,0,0,0,0),
8830132SsamOP("divf",0xf6,1,ACCR+TYPF,0,0,0,0,0),
8930132SsamOP("divl2",0x6c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
9030132SsamOP("divl3",0x7c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
9130132SsamOP("ediv",0x3e,4,ACCR+TYPL,ACCR+TYPQ,ACCW+TYPL,ACCW+TYPL,0,0),
9230132SsamOP("emul",0x2e,4,ACCR+TYPL,ACCR+TYPL,ACCR+TYPL,ACCW+TYPQ,0,0),
9330132SsamOP("expf",0x55,0,0,0,0,0,0,0),
9430132SsamOP("ffc",0xbe,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
9530132SsamOP("ffs",0xae,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
9630132SsamOP("halt",0x00,0,0,0,0,0,0,0),
9730132SsamOP("incb",0x69,1,ACCM+TYPB,0,0,0,0,0),
9830132SsamOP("incl",0x6d,1,ACCM+TYPL,0,0,0,0,0),
9930132SsamOP("incw",0x6b,1,ACCM+TYPW,0,0,0,0,0),
10030132SsamOP("insque",0xe0,2,ACCA+TYPL,ACCA+TYPL,0,0,0,0),
10130132SsamOP("jmp",0x71,1,ACCA+TYPB,0,0,0,0,0),
10230132SsamOP("kcall",0xcf,1,ACCR+TYPW,0,0,0,0,0),
10330132SsamOP("ldd",0x07,1,ACCR+TYPD,0,0,0,0,0),
10430132SsamOP("ldf",0x06,1,ACCR+TYPF,0,0,0,0,0),
10530132SsamOP("ldfd",0x97,1,ACCR+TYPF,0,0,0,0,0),
10630132SsamOP("ldpctx",0x60,0,0,0,0,0,0,0),
10730132SsamOP("lnd",0x17,1,ACCR+TYPD,0,0,0,0,0),
10830132SsamOP("lnf",0x16,1,ACCR+TYPF,0,0,0,0,0),
10930132SsamOP("loadr",0xab,2,ACCR+TYPW,ACCA+TYPL,0,0,0,0),
11030132SsamOP("logf",0x35,0,0,0,0,0,0,0),
11130132SsamOP("mcomb",0x29,2,ACCR+TYPB,ACCW+TYPB,0,0,0,0),
11230132SsamOP("mcoml",0x2d,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
11330132SsamOP("mcomw",0x2b,2,ACCR+TYPW,ACCW+TYPW,0,0,0,0),
11430132SsamOP("mfpr",0xbd,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
11530132SsamOP("mnegb",0xe8,2,ACCR+TYPB,ACCW+TYPB,0,0,0,0),
11630132SsamOP("mnegl",0xec,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
11730132SsamOP("mnegw",0xea,2,ACCR+TYPW,ACCW+TYPW,0,0,0,0),
11830132SsamOP("movab",0xe9,2,ACCA+TYPB,ACCW+TYPL,0,0,0,0),
11930132SsamOP("moval",0xed,2,ACCA+TYPL,ACCW+TYPL,0,0,0,0),
12030132SsamOP("movaw",0xeb,2,ACCA+TYPW,ACCW+TYPL,0,0,0,0),
12130132SsamOP("movb",0x09,2,ACCR+TYPB,ACCW+TYPB,0,0,0,0),
12230132SsamOP("movblk",0xf8,0,0,0,0,0,0,0),
12330132SsamOP("movl",0x0d,2,ACCR+TYPL,ACCW+TYPL,0,0,0,0),
12430132SsamOP("movob",0xc9,2,ACCR+TYPB,ACCW+TYPB,0,0,0,0),
12530132SsamOP("movow",0xcb,2,ACCR+TYPW,ACCW+TYPW,0,0,0,0),
12630132SsamOP("movpsl",0xcd,1,ACCW+TYPL,0,0,0,0,0),
12730132SsamOP("movs2",0x82,0,0,0,0,0,0,0),
12830132SsamOP("movs3",0xc2,0,0,0,0,0,0,0),
12930132SsamOP("movw",0x0b,2,ACCR+TYPW,ACCW+TYPW,0,0,0,0),
13030132SsamOP("movzbl",0xa9,2,ACCR+TYPB,ACCW+TYPL,0,0,0,0),
13130132SsamOP("movzbw",0xb9,2,ACCR+TYPB,ACCW+TYPW,0,0,0,0),
13230132SsamOP("movzwl",0xc3,2,ACCR+TYPW,ACCW+TYPL,0,0,0,0),
13330132SsamOP("mtpr",0xad,2,ACCR+TYPL,ACCR+TYPL,0,0,0,0),
13430132SsamOP("muld",0xe7,1,ACCR+TYPD,0,0,0,0,0),
13530132SsamOP("mulf",0xe6,1,ACCR+TYPF,0,0,0,0,0),
13630132SsamOP("mull2",0x4c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
13730132SsamOP("mull3",0x5c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
13830132SsamOP("negd",0xb7,0,0,0,0,0,0,0),
13930132SsamOP("negf",0xb6,0,0,0,0,0,0,0),
14030132SsamOP("nop",0x10,0,0,0,0,0,0,0),
14130132SsamOP("orb2",0x88,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
14230132SsamOP("orb3",0x98,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
14330132SsamOP("orl2",0x8c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
14430132SsamOP("orl3",0x9c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
14530132SsamOP("orw2",0x8a,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
14630132SsamOP("orw3",0x9a,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
14730132SsamOP("prober",0xc0,3,ACCR+TYPB,ACCA+TYPB,ACCR+TYPL,0,0,0),
14830132SsamOP("probew",0xd0,3,ACCR+TYPB,ACCA+TYPB,ACCR+TYPL,0,0,0),
14930132SsamOP("pushab",0xf9,1,ACCA+TYPB,0,0,0,0,0),
15030132SsamOP("pushal",0xfd,1,ACCA+TYPL,0,0,0,0,0),
15130132SsamOP("pushaw",0xfb,1,ACCA+TYPW,0,0,0,0,0),
15230132SsamOP("pushb",0xd9,1,ACCR+TYPB,0,0,0,0,0),
15330132SsamOP("pushd",0x67,0,0,0,0,0,0,0),
15430132SsamOP("pushl",0xdd,1,ACCR+TYPL,0,0,0,0,0),
15530132SsamOP("pushw",0xdb,1,ACCR+TYPW,0,0,0,0,0),
15630132SsamOP("rei",0x20,0,0,0,0,0,0,0),
15730132SsamOP("remque",0xf0,1,ACCA+TYPL,0,0,0,0,0),
15830132SsamOP("ret",0x40,0,0,0,0,0,0,0),
15930132SsamOP("sbwc",0x9d,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
16030132SsamOP("shal",0x4e,3,ACCR+TYPB,ACCR+TYPL,ACCW+TYPL,0,0,0),
16130132SsamOP("shar",0x5e,3,ACCR+TYPB,ACCR+TYPL,ACCW+TYPL,0,0,0),
16230132SsamOP("shll",0x48,3,ACCR+TYPB,ACCR+TYPL,ACCW+TYPL,0,0,0),
16330132SsamOP("shlq",0x4a,3,ACCR+TYPB,ACCR+TYPQ,ACCW+TYPQ,0,0,0),
16430132SsamOP("shrl",0x58,3,ACCR+TYPB,ACCR+TYPL,ACCW+TYPL,0,0,0),
16530132SsamOP("shrq",0x5a,3,ACCR+TYPB,ACCR+TYPQ,ACCW+TYPQ,0,0,0),
16630132SsamOP("sinf",0x05,0,0,0,0,0,0,0),
16730132SsamOP("sqrtf",0x45,0,0,0,0,0,0,0),
16830132SsamOP("std",0x27,1,ACCW+TYPD,0,0,0,0,0),
16930132SsamOP("stf",0x26,1,ACCW+TYPF,0,0,0,0,0),
17030132SsamOP("storer",0xbb,2,ACCR+TYPW,ACCA+TYPL,0,0,0,0),
17130132SsamOP("suba",0x9e,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
17230132SsamOP("subb2",0x28,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
17330132SsamOP("subb3",0x38,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
17430132SsamOP("subd",0xd7,1,ACCR+TYPD,0,0,0,0,0),
17530132SsamOP("subf",0xd6,1,ACCR+TYPF,0,0,0,0,0),
17630132SsamOP("subl2",0x2c,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
17730132SsamOP("subl3",0x3c,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
17830132SsamOP("subw2",0x2a,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
17930132SsamOP("subw3",0x3a,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
18030132SsamOP("svpctx",0x70,0,0,0,0,0,0,0),
18130132SsamOP("tstb",0x59,1,ACCR+TYPB,0,0,0,0,0),
18230132SsamOP("tstd",0x57,0,0,0,0,0,0,0),
18330132SsamOP("tstf",0x56,0,0,0,0,0,0,0),
18430132SsamOP("tstl",0x5d,1,ACCR+TYPL,0,0,0,0,0),
18530132SsamOP("tstw",0x5b,1,ACCR+TYPW,0,0,0,0,0),
18630132SsamOP("xorb2",0xc8,2,ACCR+TYPB,ACCM+TYPB,0,0,0,0),
18730132SsamOP("xorb3",0xd8,3,ACCR+TYPB,ACCR+TYPB,ACCW+TYPB,0,0,0),
18830132SsamOP("xorl2",0xcc,2,ACCR+TYPL,ACCM+TYPL,0,0,0,0),
18930132SsamOP("xorl3",0xdc,3,ACCR+TYPL,ACCR+TYPL,ACCW+TYPL,0,0,0),
19030132SsamOP("xorw2",0xca,2,ACCR+TYPW,ACCM+TYPW,0,0,0,0),
19130132SsamOP("xorw3",0xda,3,ACCR+TYPW,ACCR+TYPW,ACCW+TYPW,0,0,0),
192