1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /*
- * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
- * See the copyright notice in the ACK home directory, in the file "Copyright".
- */
- #define RCSID1 "$Id$"
- /*
- * INTEL 8086 C declarations
- */
- #define low6(z) (z & 077)
- #define fit6(z) (low6(z) == z)
- #define low3(z) (z & 07)
- #define fit3(z) (low3(z) == z)
- #define FESC 0xD8 /* escape for 8087 processor */
- extern int mrg_1,mrg_2;
- extern expr_t exp_1,exp_2;
- #ifndef ASLD
- extern int rel_1, rel_2;
- #endif
- void branch(int opc, expr_t exp);
- void pushop(int opc);
- void addop(int opc);
- void incop(int opc);
- void rolop(int opc);
- void imul(int opc);
- void regsize(int sz);
- void ea_1(int param);
- void ea_2(int param);
- void callop(int opc);
- void xchg(int opc);
- void test(int opc);
- void mov(int opc);
- void indexed();
- #ifndef extern
- extern char sr_m[8];
- #else
- char sr_m[8] = {
- -1, -1, -1, 7, -1, 6, 4, 5
- };
- #endif
- #ifndef extern
- extern char dr_m[8][8];
- #else
- char dr_m[8][8] = {
- { -1, -1, -1, -1, -1, -1, -1, -1 },
- { -1, -1, -1, -1, -1, -1, -1, -1 },
- { -1, -1, -1, -1, -1, -1, -1, -1 },
- { -1, -1, -1, -1, -1, -1, 0, 1 },
- { -1, -1, -1, -1, -1, -1, -1, -1 },
- { -1, -1, -1, -1, -1, -1, 2, 3 },
- { -1, -1, -1, -1, -1, -1, -1, -1 },
- { -1, -1, -1, -1, -1, -1, -1, -1 }
- };
- #endif
|