Pristine Ack-5.5
[Ack-5.5.git] / mach / z80 / as / mach3.c
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 #define RCSID3 "$Id: mach3.c,v 3.3 1994/06/24 13:54:50 ceriel Exp $"
6
7 /*
8  * Zilog Z80 keywords
9  */
10
11 0,      R8,             B,              "b",
12 0,      R8,             C,              "c",
13 0,      R8,             D,              "d",
14 0,      R8,             E,              "e",
15 0,      R8,             H,              "h",
16 0,      R8,             L,              "l",
17 0,      R8,             F,              "f",
18 0,      R8,             A,              "a",
19 0,      R8,             I,              "i",
20 0,      R8,             R,              "r",
21 0,      R16,            BC,             "bc",
22 0,      R16,            DE,             "de",
23 0,      R16,            HL,             "hl",
24 0,      R16,            SP,             "sp",
25 0,      R16,            AF,             "af",
26 0,      R16,            AF2,            "af2",
27 0,      R16,            IX,             "ix",
28 0,      R16,            IY,             "iy",
29 0,      CC,             0,              "nz",
30 0,      CC,             1,              "z",
31 0,      CC,             2,              "nc",
32 0,      CC,             4,              "po",
33 0,      CC,             5,              "pe",
34 0,      CC,             6,              "p",
35 0,      CC,             7,              "m",
36 0,      LDOP,           0,              "ld",
37 0,      PSHPOP,         0305,           "push",
38 0,      PSHPOP,         0301,           "pop",
39 0,      EXOP,           0343,           "ex",
40 0,      NOOPOP,         0331,           "exx",
41 0,      E_ED,           0240,           "ldi",
42 0,      E_ED,           0260,           "ldir",
43 0,      E_ED,           0250,           "ldd",
44 0,      E_ED,           0270,           "lddr",
45 0,      E_ED,           0241,           "cpi",
46 0,      E_ED,           0261,           "cpir",
47 0,      E_ED,           0251,           "cpd",
48 0,      E_ED,           0271,           "cpdr",
49 0,      ADDOP,          0200,           "add",
50 0,      ADCSBC,         0210,           "adc",
51 0,      ADCSBC,         0230,           "sbc",
52 0,      ARI8,           0220,           "sub",
53 0,      ARI8,           0240,           "and",
54 0,      ARI8,           0260,           "or",
55 0,      ARI8,           0250,           "xor",
56 0,      ARI8,           0270,           "cp",
57 0,      INCDEC,         04,             "inc",
58 0,      INCDEC,         05,             "dec",
59 0,      NOOPOP,         047,            "daa",
60 0,      NOOPOP,         057,            "cpl",
61 0,      E_ED,           0104,           "neg",
62 0,      NOOPOP,         077,            "ccf",
63 0,      NOOPOP,         067,            "scf",
64 0,      NOOPOP,         0,              "nop",
65 0,      NOOPOP,         0166,           "halt",
66 0,      NOOPOP,         0363,           "di",
67 0,      NOOPOP,         0373,           "ei",
68 0,      IMOP,           0106,           "im",
69 0,      NOOPOP,         07,             "rlca",
70 0,      NOOPOP,         027,            "rla",
71 0,      NOOPOP,         017,            "rrca",
72 0,      NOOPOP,         037,            "rra",
73 0,      ROTATE,         0,              "rlc",
74 0,      ROTATE,         020,            "rl",
75 0,      ROTATE,         010,            "rrc",
76 0,      ROTATE,         030,            "rr",
77 0,      ROTATE,         040,            "sla",
78 0,      ROTATE,         050,            "sra",
79 0,      ROTATE,         070,            "srl",
80 0,      E_ED,           0157,           "rld",
81 0,      E_ED,           0147,           "rrd",
82 0,      BITS,           0100,           "bit",
83 0,      BITS,           0200,           "res",
84 0,      BITS,           0300,           "set",
85 0,      JP,             0303,           "jp",
86 0,      JR,             030,            "jr",
87 0,      DJNZ,           020,            "djnz",
88 0,      CALL,           0315,           "call",
89 0,      RET,            0311,           "ret",
90 0,      E_ED,           0115,           "reti",
91 0,      E_ED,           0105,           "retn",
92 0,      RST,            0307,           "rst",
93 0,      IN,             0333,           "in",
94 0,      E_ED,           0242,           "ini",
95 0,      E_ED,           0262,           "inir",
96 0,      E_ED,           0252,           "ind",
97 0,      E_ED,           0272,           "indr",
98 0,      OUT,            0323,           "out",
99 0,      E_ED,           0243,           "outi",
100 0,      E_ED,           0263,           "otir",
101 0,      E_ED,           0253,           "outd",
102 0,      E_ED,           0273,           "otdr",