##### Syntax

-m128k

##### Description

This option instructs the linker to generate code for parts with between 8K and 128K of code memory. For devices that have 8K of code memory or less, you should use the -m8k switch so that RJMP instructions are always used, and for devices with more than 128K of memory you should use the -m8m switch so that the wider program counter of these devices is correctly supported.

##### Setting this in CrossStudio

To use the hardware multiplier for a project:

- Select the project in the Project Explorer.
- In the Code Generation Options group set the Flash Size property to 128K.

It is not possible to set the Flash Size property on a per-file basis.

##### See also

-m8k (Generate for 8K part) and -m8m (Generate for 8M part)