init("compiler","SpASM");

includeScript("SpASM");

function detect(bShowType,bShowVersion,bShowOptions)
{
    if(bSpASM)
    {
        sVersion=PE.getCompilerVersion();
        sOptions=PE.getGeneralOptionsEx();  // SpASM doesn't have a linker
        bDetected=1;

        // Correct version
        if(PE.getMajorLinkerVersion()>3)
        {
            sVersion+="*";
        }
    }

    return result(bShowType,bShowVersion,bShowOptions);
}
