Next: PDP-11-Pseudos, Up: PDP-11-Dependent
The PDP-11 version of as
has a rich set of machine
dependent options.
-mpic | -mno-pic
The default is to generate position-independent code.
These options enables or disables the use of extensions over the base
line instruction set as introduced by the first PDP-11 CPU: the KA11.
Most options come in two variants: a -m
extension that
enables extension, and a -mno-
extension that disables
extension.
The default is to enable all extensions.
-mall | -mall-extensions
-mno-extensions
-mcis | -mno-cis
ADDNI
, ADDN
, ADDPI
,
ADDP
, ASHNI
, ASHN
, ASHPI
, ASHP
,
CMPCI
, CMPC
, CMPNI
, CMPN
, CMPPI
,
CMPP
, CVTLNI
, CVTLN
, CVTLPI
, CVTLP
,
CVTNLI
, CVTNL
, CVTNPI
, CVTNP
, CVTPLI
,
CVTPL
, CVTPNI
, CVTPN
, DIVPI
, DIVP
,
L2DR
, L3DR
, LOCCI
, LOCC
, MATCI
,
MATC
, MOVCI
, MOVC
, MOVRCI
, MOVRC
,
MOVTCI
, MOVTC
, MULPI
, MULP
, SCANCI
,
SCANC
, SKPCI
, SKPC
, SPANCI
, SPANC
,
SUBNI
, SUBN
, SUBPI
, and SUBP
.
-mcsm | -mno-csm
CSM
instruction.
-meis | -mno-eis
ASHC
, ASH
, DIV
,
MARK
, MUL
, RTT
, SOB
SXT
, and
XOR
.
-mfis | -mkev11
-mno-fis | -mno-kev11
FADD
, FDIV
, FMUL
, and FSUB
.
-mfpp | -mfpu | -mfp-11
-mno-fpp | -mno-fpu | -mno-fp-11
ABSF
, ADDF
, CFCC
, CLRF
, CMPF
,
DIVF
, LDCFF
, LDCIF
, LDEXP
, LDF
,
LDFPS
, MODF
, MULF
, NEGF
, SETD
,
SETF
, SETI
, SETL
, STCFF
, STCFI
,
STEXP
, STF
, STFPS
, STST
, SUBF
, and
TSTF
.
-mlimited-eis | -mno-limited-eis
MARK
, RTT
, SOB
, SXT
, and XOR
.
The -mno-limited-eis options also implies -mno-eis.
-mmfpt | -mno-mfpt
MFPT
instruction.
-mmultiproc | -mno-multiproc
TSTSET
and
WRTLCK
.
-mmxps | -mno-mxps
MFPS
and MTPS
instructions.
-mspl | -mno-spl
SPL
instruction.
Enable (or disable) the use of the microcode instructions: LDUB
,
MED
, and XFC
.
These options enable the instruction set extensions supported by a particular CPU, and disables all other extensions.
-mka11
-mkb11
SPL
.
-mkd11a
-mkd11b
-mkd11d
-mkd11e
MFPS
, and MTPS
.
-mkd11f | -mkd11h | -mkd11q
MFPS
, and MTPS
.
-mkd11k
LDUB
, MED
,
MFPS
, MFPT
, MTPS
, and XFC
.
-mkd11z
CSM
, MFPS
,
MFPT
, MTPS
, and SPL
.
-mf11
MFPS
, MFPT
, and
MTPS
.
-mj11
CSM
, MFPS
,
MFPT
, MTPS
, SPL
, TSTSET
, and WRTLCK
.
-mt11
MFPS
, and
MTPS
.
These options enable the instruction set extensions supported by a particular machine model, and disables all other extensions.
-m11/03
-mkd11f
.
-m11/04
-mkd11d
.
-m11/05 | -m11/10
-mkd11b
.
-m11/15 | -m11/20
-mka11
.
-m11/21
-mt11
.
-m11/23 | -m11/24
-mf11
.
-m11/34
-mkd11e
.
-m11/34a
-mkd11e
-mfpp
.
-m11/35 | -m11/40
-mkd11a
.
-m11/44
-mkd11z
.
-m11/45 | -m11/50 | -m11/55 | -m11/70
-mkb11
.
-m11/53 | -m11/73 | -m11/83 | -m11/84 | -m11/93 | -m11/94
-mj11
.
-m11/60
-mkd11k
.