‑‑lock_regs
In this section:
Syntax
Parameters
| A comma-separated list of register names and register intervals to be locked. In 32-bit mode: registers in the range In 64-bit mode: registers in the ranges |
Description
Use this option to prevent the compiler from generating code that uses the specified registers.
Example
‑‑lock_regs=R4 ‑‑lock_regs=R8—R11 ‑‑lock_regs=R4,R8—R11
Caution
To set this option, use Project>Options>C/C++ Compiler>Extra Options.