-save_acc


< Compile Options / Microcontroller Options >

[Format]

-save_acc

 

-

[Default]

When this option is omitted, it does not generate the saved and restored code of the accumulator (ACC,ACC0,ACC1) for interrupt functions.

[Description]

-

This option generates the saved and restored code of the accumulator (ACC,ACC0,ACC1) for interrupt functions.

-

The save and restored code of the ACC when the ISA *1 is selected as the RXv1 or the microcomputer type is selected by the CPU *2.

-

The save and restored code of the ACC0 and ACC1 when the ISA *1 is selected as the RXv2.

Note

*1) This means a selection by the -isa option or the ISA_RX environment variable.

*2) This means a selection by the -cpu option or the CPU_RX environment variable.

[Remarks]

-

The generated saved and restored code is the same code generated when acc is selected in #pragma interrupt. For the actual saved and restored code, refer to the description of acc and no_acc in #pragma interrupt of #pragma Extension Specifiers and Keywords.