4 * Copyright (C) 2010 Alan R. Baldwin
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
71 /* Illegal 0x03, 0x05, 0x06, 0x07 */
77 /* Illegal 0x0B, 0x0D, 0x0E, 0x0F */
83 /* Illegal 0x13, 0x15, 0x16, 0x17 */
89 /* Illegal 0x1B, 0x1D, 0x1E, 0x1F */
128 * Extended Addressing Modes
130 #define R_BITS 0x0100 /* Bit Test Addressing Mode */
135 char a_str
[4]; /* addressing string */
136 int a_val
; /* addressing mode value */
139 extern struct adsym REG
[];
143 /* machine dependent functions */
148 extern int addr(struct expr
*esp
);
149 extern int addr1(struct expr
*esp
);
150 extern int addrsl(struct expr
*esp
);
151 extern int admode(struct adsym
*sp
);
152 extern int any(int c
, char *str
);
153 extern int srch(char *str
);
156 extern VOID
machine(struct mne
*mp
);
157 extern int mchpcr(struct expr
*esp
);
158 extern VOID
minit(void);
159 extern VOID
opcy_aerr(void);
160 extern VOID
valu_aerr(struct expr
*e
, int n
);
161 extern int ls_mode(struct expr
*e
);
162 extern unsigned setbit(unsigned b
);
163 extern unsigned getbit(void);
176 extern VOID
machine();
179 extern VOID
opcy_aerr();
180 extern VOID
valu_aerr();
181 extern int ls_mode();
182 extern unsigned setbit();
183 extern unsigned getbit();