Everything

-pid


< Assembler Command Options / Microcontroller Options >

[Format]

-pid[={ 16 | 32 }]

 

-

[Default]

This option generates a relocatable object indicating that code was generated with the PID function disabled.

[Description]

-

This option generates a relocatable object indicating that code was generated with the PID function enabled.

-

<PID register>

-

Based on the rules in the following table, one register from among R9 to R13 is selected according to the specification of the fint_register option. If the fint_register option is not specified, R13 is selected.

Table 2.13

Correspondences between fint_register Options and PID Registers

fint_register Option

PID Register

No fint_register specification

R13

fint_register = 0

fint_register = 1

R12

fint_register = 2

R11

fint_register = 3

R10

fint_register = 4

R9

-

The PID register can be used only for the purpose of PID access.

-

<Parameters>

-

The meaning of a parameter is the same as that for the compiler option with the same name.

[Remarks]

-

Even if code conflicting with PID is written in the assembly code, it will not be checked.

-

A relocatable object with the PID function enabled cannot be linked with a relocatable object with the PID function disabled.

-

If a PID register specified by the pid option is also specified by the base option, error F0553111 will be output.

-

If the pid option and nouse_pid_register option are selected simultaneously, error F0553103 will be output.

-

For the PID function, also refer to Usage of PIC/PID Function.