-nomap


< Compile Options / Optimize Options >

[Format]

-nomap

 

-

[Default]

The default for this option is nomap when the optimize=0, optimize=1, or optimize=2 option has been specified.

[Description]

-

When the nomap option is specified, accesses to external variables are not optimized.

[Example]

-

<C source file>

long A,B,C;
void func()
{
    A = 1;
    B = 2;
    C = 3;
}

-

<Output code>

_func:
     MOV.L     #_A,R4
     MOV.L     #1,[R4]
     MOV.L     #_B,R4
     MOV.L     #2,[R4]
     MOV.L     #_C,R4
     MOV.L     #3,[R4]