|
|
1.1 root 1: /* Definitions for Sequent Intel 386 using GAS.
2: Copyright (C) 1992 Free Software Foundation, Inc.
3:
4: /* Mostly it's like a Sequent 386 without GAS. */
5:
6: #include "seq386.h"
7:
8: /* A C statement or statements which output an assembler instruction
9: opcode to the stdio stream STREAM. The macro-operand PTR is a
10: variable of type `char *' which points to the opcode name in its
11: "internal" form--the form that is written in the machine description.
12:
13: GAS version 1.38.1 doesn't understand the `repz' opcode mnemonic.
14: So use `repe' instead. */
15:
16: #undef ASM_OUTPUT_OPCODE
17: #define ASM_OUTPUT_OPCODE(STREAM, PTR) \
18: { \
19: if ((PTR)[0] == 'r' \
20: && (PTR)[1] == 'e' \
21: && (PTR)[2] == 'p' \
22: && (PTR)[3] == 'z') \
23: { \
24: fprintf (STREAM, "repe"); \
25: (PTR) += 4; \
26: } \
27: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.