3.3.1 Processor Selection Options
Keywords: sdccman

##
3.3.1 Processor Selection Options

- [-mmcs51] Generate code for the Intel MCS51 family of processors. This is the default processor target.
- [-mds390] Generate code for the Dallas DS80C390 processor.
- [-mds400] Generate code for the Dallas DS80C400 processor.
- [-mhc08] Generate code for the Freescale/Motorola HC08 (aka 68HC08) family of processors.
- [-ms08] Generate code for the Freescale/Motorola S08 (aka 68HCS08, HCS08, CS08) family of processors.
- [-mz80] Generate code for the Zilog Z80 family of processors.
- [-mz180] Generate code for the Zilog Z180 family of processors.
- [-mr2k] Generate code for the Rabbit 2000 / Rabbit 3000 family of processors.
- [-mr3ka] Generate code for the Rabbit 3000A family of processors.
- [-msm83] Generate code for the Sharp SM83 processor.
- [-mtlcs90] Generate code for the Toshiba TLCS-90 processor.
- [-mez80_z80] Generate code for the Zilog eZ80 processor in Z80 mode.
- [-mstm8] Generate code for the STMicroelectronics STM8 family of processors.
- [-mpdk13] Generate code for Padauk processors with 13 bit wide program memory.
- [-mpdk14] Generate code for Padauk processors with 14 bit wide program memory.
- [-mpdk15] Generate code for Padauk processors with 15 bit wide program memory.
- [-mpic14] Generate code for the Microchip PIC 14-bit processors (p16f84 and variants. In development, not complete).

- [-mpic16] Generate code for the Microchip PIC 16-bit processors (p18f452 and variants. In development, not complete).

SDCC inspects the program name it was called with so the processor family can also be selected by renaming the sdcc binary (to f.e. z80-sdcc) or by calling SDCC from a suitable link. Option -m has higher priority than setting from program name.