Extends ASM v2.05, Mar 2 2011, MASM-compatible assembler.
Portions copyright (c) 1992-2002 Sybase, Inc. All rights reserved.
Source code is available under the Sybase open Watcom Public License.
Using ASM [Options] ASM-file [Options] [ASM-file]... [@ env_var]
Options:
-<0 | 1 | .. | 10> [p] Set CPU: 0 = 8086 (default), 1 = 80186, 2 = 80286, 3 = 80386,
4 = 80486, 5 = Pentium, 6 = ppro, 7 = P2, 8 = P3, 9 = P4, 10 = x86-64.
<P> allows privileged instructions.
-Bin generate plain binary file
-C assemble without linking (always set)
-Coff generate coff format object file
-C <p | u | x> set Option Casemap: P = none, u = All,
X = notpublic (default ).
-D <Name> [= text] define text macro
-E <number> set error limit number (default = 50)
-Elf generate 32-bit ELF format object file
-ELF64 generate 64-bit ELF format object file
-EP output preprocessed listing to stdout
-EQ don't Display error messages
-Fi <file_name> force <file_name> to be encoded DED
-Fl [= <file_name>] Write listing file
-FO <file_name> set object file name
-Fr <file_name> set error file name
-FPI 80x87 instructions with emulation fixups
-Fpi87 80x87 instructions (default)
-FPC disallow floating-point instructions (. no87)
-FP <n> set FPU, <n> is: 0 = 8087 (default), 2 = 80287, 3 = 80387
-G <c | d | z> Use Pascal, C or stdcall calling convention
-I <directory> Add directory to list of include directories
-M <t | S | c | M | L | H | f> set Memory Model:
(Tiny, small, compact, medium, large, huge, flat)
-MZ generate binary in dos mz format
-Nc = <Name> set Class Name of code segment
-N <d | M | T >=< Name> Set Name of Data Segment, module or text segment
-OMF generate OMF format object file (default)
-Q,-nologo don't display version and copyright information
-Sa maximize source listing
-Safeseh assert all exception handlers are declared
-SG display generated code in listing
-Sn suppress symbol-table listing
-SX list false conditionals
-W same as/W0/wx
-W <number> set warning level number (default = 2, max = 4)
-Win64 generate 64bit coff format object file
-WX treat all warnings as errors
-X ignore include environment path
-Zcm C names are decorated with '_' prefix (default)
-Zcw no name decoration for C symbols
-ZD add line number debug info (OMF & coff only)
-ZF make all symbols public
-Zf <0 | 1> set fastcall type: 0 = ms vc style (default ),
1 = ow register calling convention
-ZG generated code is to exactly match MASM's one
-Zi add symbolic debug info (OMF & coff only)
-Zlc no OMF records about data in code
-Zld no OMF records about far call Optimization
-Zlf no coff. file entry in symbol table
-ZLs no coff auxiliary entries for sections in symbol table
-Zm masm v5.1 compatibility
-Zne disable syntax extensions not supported by MASM
-ZP [N] Set structure alignment, n = <1 | 2 | 4 | 8 | 16 | 32>
-Zs perform syntax check only
-ZT <0 | 1 | 2> set stdcall symbol Decoration: 0 = No Name decoration,
1 = no' @ size' suffix for functions, 2 = Full (default)
-Zv8 enable MASM V8 + proc visibility
-Zze no name decoration for exported symbols
-Zzs store decorated name of start address (coff only)
@ Env_var environment variable or file containing further commands
C:/users/a2306/desktop/new folder (3)> pause
Microsoft (r) C/C ++ optimization compiler for x64 14.00.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
C/C ++ compiler options
-Optimization-
/O1 minimize space/O2 maximize speed
/Ob <n> inline extension (default n = 0)/OD disable optimization (default)
/Og enable global optimization/OI [-] enable internal functions
/OS preferred code space/OT preferred code speed
/Ox Maximum Optimization
/Favor: <blend | amd64 | em64t> select the optimized processor, which has one of the following values:
Blend-optimized combination of several different x64 Processors
Amd64-64-bit AMD processor
Em64t-Intel Pentium processor supporting em64t
-Code Generation-
/GF Enable Read-Only string pool/GM [-] Enable minimum regenerate
/Gy [-] Separation of linker functions/GS [-] Enable Security Check
/GR [-] Enable C ++ rtti/GX [-] Enable C ++ EH (same as/ESCS)
/Enable C ++ eh for EHS (no seh exception)/enable C ++ eh for EHA (W/seh exception)
/The default external "C" of EHC is nothrow.
/FP: <strong T [-] | fast | precise | strict> select floating point mode:
Counter T [-]-floating point exceptions are considered during code generation
Fast-"fast" floating point mode; low result predictability
Precise-"precise" floating point mode; predictable results
Strict-"strict" floating point mode (meaning/FP: Limit T)
/GL [-] Enable link time code generation/GA for Windows application optimization
/Ge enforces stack check for all functions/GS [num] controls stack check calls
/GH enable _ penter function call/GH enable _ pexit function call
/GT generate fiber route security TLS access/rtc1 enable quick check (/rtcsu)
/RTCC to a smaller type check/RTCs stack frame runtime check
/Rtcu uninitialized local usage check
/CLR [: Option] is the compilation of the Common Language Runtime library, where option is:
Pure-generate an output file containing only il (no local code can be executed)
Safe-generate verifiable output files that only contain Il
Oldsyntax-Accept the managed extension Syntax of Visual C ++ 2002/2003
Initialappdomain-enable visual C ++ 2002 initial appdomain Behavior
Noassembly-No assembly
/Homeparams forcibly writes the parameters in the register to the stack.
/GZ Enable stack check (/RTCs)
-Output file-
/FA named assembly list file/Fa [SCU] configuration assembly list
/FD naming. PDB file/Fe <File> naming executable files
/FM name ing file/FO <File> name object file
/FP <File> naming precompiled header file/FR naming source browser File
/FR name extension. SBR File
/DOC processes XML document comments and can select the name. xdc File
-Pre-processor-
/AI <dir> Add to Assembly search path/Fu <File> force use of assembly/Module
/C do not extract comments/d <name >{|#} <text> definition macro
/E directs preprocessing to stdout/EP for preprocessing to standard output without # Line
/P preprocessing to files/FX merge inserted code into files
/FI <File> naming forces include file/u <Name> remove predefined macros
/U remove all predefined macros/I <dir> to include search paths
/X ignore "standard location"
-Language-
/Zi enable debugging information/z7 enable legacy debugging information
/ZP [N] encapsulate the structure on the N-byte boundary/za disable Extension
/Ze enable extension (default)/ZL ignore the default library name in. OBJ
/ZG generates function prototype/zs only performs syntax check
/VD {0 | 1 | 2} disable/enable vtordisp/Vm <x> pointer type to Member
/ZC: arg1 [, arg2] C ++ language consistency. The parameters here can be:
Forscope [-]-enforce the use of standard C ++ for range rules
Wchar_t [-]-wchar_t is of the native type, not typedef
/Enable OpenMP 2.0 Language extension in OpenMP
-Miscellaneous-
@ <File> Option response file /?, /Help print this help message
/Bigobj generate extended object format/C compile only, no link
/Errorreport: Option reports internal compiler errors to Microsoft
None-do not send report prompt-prompt to send report now
Queue-the next time you log on as an administrator, the system prompts you to send a report (default)
Send-automatic report sending/full path name used in FC Diagnosis
/H <num> Maximum length of external names/J default char type is unsigned
/Nologo unshow copyright message/showincludes show include file name
/Tc <Source File> compile the file into. c/TP <Source File> and compile the file into. cpp.
/TC: compile all files into. c/TP. compile all files into. cpp.
/V <string> set version string/W to disable all warnings
/WD <n> disable warning N/We <n> treats warning N as an error
/WO <n> issue a warning N/W <L> <n> set a warning level of 1-4 for N
/W <n> set the warning level (default n = 1)/wall to enable all warnings
/WL enable single row diagnosis/wx treats the warning as an error
/YC create a. PCH file/Yd put debugging information in each. OBJ
/YL [sym] Insert. PCH reference for the debugging Library/use the. PCH file in Yu
/Y-Disable all PCH options/ZM <n> maximum memory allocation (% by default)
/Wp64 enable 64-bit Port location warning
-Link-
/LD create. dll/LDD create. dll debugging Library
/Ln create. netmodule/F <num> set the stack size
/Link [Linker Options and libraries]/MD and msvcrt. Lib
/MT and libcmt. Lib links/MDD and msvcrtd. Lib debugging libraries links
/MTD and libcmtd. Lib debugging library links
========================================================== =====
========================================================== =====
Microsoft (r) incremental linker version 8.00.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
Usage: link [Options] [files] [@ commandfile]
Option:
/Align :#
/Allowbind [: No]
/Allowisolation [: No]
/Assemblydebug [: Disable]
/Assemblylinkresource: Filename
/Assemblymodule: Filename
/Assemblyresource: filename [, [name] [, private]
/Base: {Address [, size] | @ filename, key}
/Clrimagetype: {ijw | pure | safe}
/Clrsupportlasterror [: {No | systemdll}]
/Clrthreadattribute: {sta | MTA | none}
/Clrunmanagedcodecheck [: No]
/Debug
/DEF: Filename
/Defaultlib: Library
/Delay: {nobind | unload}
/Delayload: DLL
/Delaysign [: No]
/DLL
/Driver [: {uponly | WDM}]
/Entry: Symbol
/Errorreport: {none | prompt | queue | send}
/Export: Symbol
/Fixed [: No]
/Force [: {multiple | unresolved}]
/Functionpadmin [: Size]
/Heap: Reserve [, commit]
/Idlout: Filename
/Ignoreidl
/Implib: Filename
/Include: Symbol
/Incremental [: No]
/Keycontainer: Name
/Keyfile: Filename
/Largeaddressaware [: No]
/Libpath: Dir
/Ltcg [: {nostatus | pginstrument | pgoptimize | pgupdate | status}]
/Machine: {arm | EBC | IA64 | MIPS | mips16 | mipsfpu | mipsfp2010|
Sh4 | thumb | x64 | x86}
/Manifest [: No]
/Manifestdependency: manifest dependency
/Manifestfile: Filename
/Map [: Filename]
/MapInfo: {exports}
/Merge: From =
/Midl: @ commandfile
/Noassembly
/Nodefaultlib [: Library]
/Noentry
/Nologo
/Nxcompat [: No]
/OPT: {ICF [= iterations] | noicf | Noref | nowin98 | ref | Win98}
/Order: @ filename
/Out: Filename
/PDB: Filename
/Pdbstripped: Filename
/PGD: Filename
/Profile
/Release
/Safeseh [: No]
/Section: name, [[!] {Dekprsw}] [, align = #]
/Stack: Reserve [, commit]
/Stub: Filename
/Subsystem: {console | efi_application | efi_boot_service_driver |
Efi_rom | efi_runtime_driver | native | POSIX | Windows |
WindowsCE} [, # [. #]
/Swaprun: {CD | net}
/Tlbid :#
/Tlbout: Filename
/Tsaware [: No]
/Verbose [: {ICF | lib | ref | safeseh}]
/Version: # [. #]
/WindowsCE: {convert | emulation}
/Wx [: No]