Everything

-nomap


< Compile Options / Optimize Options >

[Format]

-nomap

 

-

[Default]

The default for this option is nomap. However, the default is map if abs, hex, or sty is specified for the output option and the optimize=max option is 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]