--mri option selects MRI compatibility mode. This
changes the syntax and pseudo-op handling of
as to make it
compatible with the
ASM68K or the
ASM960 (depending upon the
configured target) assembler from Microtec Research. The exact nature of the
MRI syntax will not be documented here; see the MRI manuals for more
information. Note in particular that the handling of macros and macro
arguments is somewhat different. The purpose of this option is to permit
assembling existing MRI assembler code using
The MRI compatibility is not complete. Certain operations of the MRI assembler depend upon its object file format, and can not be supported using other object file formats. Supporting these would require enhancing each object file format individually. These are:
ashandles common sections by treating them as a single common symbol. It permits local symbols to be defined within a common section, but it can not support global symbols, since it has no way to describe them.
ENDpseudo-op specifying start address The MRI
ENDpseudo-op permits the specification of a start address. This is not supported by other object file formats. The start address may instead be specified using the
-eoption to the linker, or in a linker script.
NAMEpseudo-ops The MRI
NAMEpseudo-ops assign a module name to the output file. This is not supported by other object file formats.
ORGpseudo-op The m68k MRI
ORGpseudo-op begins an absolute section at a given address. This differs from the usual
.orgpseudo-op, which changes the location within the current section. Absolute sections are not supported by other object file formats. The address of a section may be assigned within a linker script.
There are some other features of the MRI assembler which are not supported by
as, typically either because they are difficult or because they
seem of little consequence. Some of these may be supported in future releases.
DCB.Ppseudo-ops are not supported.
FEQUpseudo-op The m68k
FEQUpseudo-op is not supported.
NOOBJpseudo-op The m68k
NOOBJpseudo-op is not supported.
OPTbranch control options The m68k
OPTbranch control options---
asautomatically relaxes all branches, whether forward or backward, to an appropriate size, so these options serve no purpose.
OPTlist control options The following m68k
OPTlist control options are ignored:
OPToptions The following m68k
OPToptions are ignored:
Doption is default The m68k
Doption is the default, unlike the MRI assembler.
OPT NODmay be used to turn it off.
XREFpseudo-op. The m68k
XREFpseudo-op is ignored.
.debugpseudo-op The i960
.debugpseudo-op is not supported.
.extendedpseudo-op The i960
.extendedpseudo-op is not supported.
.listpseudo-op. The various options of the i960
.listpseudo-op are not supported.
.optimizepseudo-op The i960
.optimizepseudo-op is not supported.
.outputpseudo-op The i960
.outputpseudo-op is not supported.
.setrealpseudo-op The i960
.setrealpseudo-op is not supported.
Go to the first, previous, next, last section, table of contents.