PDP-11 assembler options


This is a proposal. As far as I know, these options should accurately describe the features found in different PDP-11 models and CPUs. Please contact me if you find any errors.

PDP-11-specific options in the GNU assembler.

Machine model options:

-m[[pdp]11/]03
Same as -mkd11f.
-m[[pdp]11/]04
Same as -mkd11d.
-m[[pdp]11/]05
-m[[pdp]11/]10
Same as -mkd11b.
-m[[pdp]11/]15 -m[[pdp]11/]20
Same as -mka11.
-m[[pdp]11/]21
Same as -mt11.
-m[[pdp]11/]23
-m[[pdp]11/]24
Same as -mf11.
-m[[pdp]11/]34
Same as -mkd11e.
-m[[pdp]11/]34a
-m[[pdp]11/]34c
Same as -mkd11e -mfpp.
-m[[pdp]11/]35
-m[[pdp]11/]40
Same as -mkd11a.
-m[[pdp]11/]44
Same as -mkd11z.
-m[[pdp]11/]45
-m[[pdp]11/]50
-m[[pdp]11/]55
-m[[pdp]11/]70
Same as -mkb11.
(FPP?)
-m[[pdp]11/]60
Same as -mkd11k.
-m[[pdp]11/]53
-m[[pdp]11/]73
-m[[pdp]11/]83
-m[[pdp]11/]84
-m[[pdp]11/]93
-m[[pdp]11/]94
Same as -mj11.

CPU model options:

-m[k]a[-]11*
KA11 CPU. Base line instruction set only.
-m[k]b[-]11*
KB11 CPU. Enable full EIS and SPL. Same as -meis -mspl.
(FPP?)
-m[k]d[-]11[-]a
KD11-A CPU. Enable limited EIS. Same as -mlimited-eis.
(EIS?)
-m[k]d[-]11[-]b
-m[k]d[-]11[-]d
KD11-B or KD11-D CPU. Base line instruction set only.
-m[k]d[-]11[-]e
KD11-E CPU. Enable full EIS, MTPS, and MFPS. Same as -meis -mmxps.
(FPP?)
-m[k]d[-]11[-]f
-m[k]d[-]11[-]h
-m[k]d[-]11[-]q
KD11-F, KD11-H, or KD11-Q CPU. Enable limited EIS, MTPS, and MFPS. Same as -mlimited-eis -mmxps.
(EIS?)
-m[k]d[-]11[-]k
KD11-K CPU. Enable full EIS, MTPS, MFPS, LDUB, MED, XFC, and MFPT. Same as -meis -mmxps -mmfpt -mucode.
(FPP?)
-m[k]d[-]11[-]z
KD11-Z CPU. Enable full EIS, MTPS, MFPS, MFPT, SPL, and CSM. Same as -meis -mmxps -mmfpt -mspl -mcsm.
(FPP?)
-m[kd]f[-]11*
F11 CPU. Enable full EIS, MFPS, MTPS, and MFPT. Same as -meis -mmxps -mmfpt.
(FPP?)
-m[kd]j[-]11*
J11 CPU. Enable full EIS, MTPS, MFPS, MFPT, SPL, CSM, TSTSET, and WRTLCK. Same as -meis -mmxps -mmfpt -mspl -mcsm -mmultiproc.
(FPP?)
-m[kx]t[-]11*
T11 CPU. Enable limited EIS, MTPS, and MFPS. Same as -mlimited-eis -mmxps.

Instruction set features:

-m(no-)cis
Enable (disable) commersial instruction set.
-m(no-)eis
Enable (disable) full extended instruction set.
-mlimited-eis
Enable limited extended instruction set.
-m(no-)fis
Enable (disable) KEV11 floating-point instruction set.
-m(no-)fpp
-m(no-)fpu
Enable (disable) FP-11 floating-point instructions.
-m(no-)spl
Enable (disable) SPL instruction.
-m(no-)csm
Enable (disable) CSM instruction.
-m(no-)mxps
Enable (disable) MFPS and MTPS instructions.
-m(no-)mfpt
Enable (disable) MFPT instruction.
-m(no-)ucode
Enable (disable) LDUB, MED, and XFC instructions.
-m(no-)multiproc
Enable (disable) TSTSET and WRTLCK instructions.
-mall-extensions
Enable all instruction set extensions. Same as -mcis -meis -mfis -mfpp -mspl -mcsm -mmxps -mmfpt -mucode -mmultiproc.
-mno-extensions
Disable all instruction set extensions. Same as -mno-cis -mno-eis -mno-fis -mno-fpp -mno-spl -mno-csm -mno-mxps -mno-mfpt -mno-ucode -mno-multiproc.
-pic
Indicates PIC.

Unix and 2.11BSD assembler compatibility options:

Not really necessary?

-u
Treat all undefined symbols in the assembly as external globals.
-V
Produce an object suitable for loading into an automatic text overlaid program.


Last changed