Table of contents
- ASMC
-
JWASM
- 1. About
-
2. Commandline Options
- Options -0, -1, -2, ..., -10: Select Cpu
- Option -bin: Select Output Format Binary
- Option -coff: Select Output Format COFF
- Option -djgpp: Select Output Format for DJGPP (optional)
- Option -e: Set error limit
- Option -elf: Select 32-bit Output Format ELF
- Option -elf64: Select 64-bit Output Format ELF
- Option -eq: Suppress Error Messages on Screen
- Option -Fd: Write Import Definitions
- Option -FPi: Activate Floating-Point Emulation
- Option -Fw: Set Error File Name
- Options -Gc, -Gd, -Gr, -Gz: Set Default Calling Convention
- Option -m: Select Memory Model
- Option -mz: Select Output Format MZ
- Option -nc: Set Code Class Name
- Options -nd and -nt: Set DATA and CODE Segment Names
- Option -nm: Set Module Name
- Option -pe: Create a PE Binary
- Option -win64: Select Output Format Win64
- Option -zc: Set Name Decoration for C
- Option -Zd: Emit Line Number Debugging Info
- Option -zf: Select FASTCALL Type
- Option -Zg: Masm-compatible Code Generation
- Option -Zi: Emit Symbolic Debugging Info
- Options -zlc and -zld: Control Content of OMF Output Module
- Options -zlf, -zlp and -zls: Control Content of COFF Output Module
- Option -Zm: Enable Masm v5 Compatibility
- Option -Zne: Disable JWasm Syntax Extensions
- Option -zt: Set Name Decoration for STDCALL
- Option -Zv8: Enable Masm v8 Procedure Visibility
- Option -zze: Disable Export Name Decoration
- Option -zzs: Avoid Wlink COFF Incompatibility
-
3. Syntax Extensions
- 3.1 Directive INCBIN
- 3.2 FASTCALL Register Calling Convention
- 3.3 IDs enclosed in Back Quotes
- 3.4 Floating-Point Immediates in Instructions
- 3.5 Directive OPTION FIELDALIGN
- 3.6 Directive OPTION PROCALIGN
- 3.7 Directive OPTION MZ
- 3.8 Directive OPTION ELF
- 3.9 Directive OPTION WIN64
- 3.10 Directive OPTION FRAME
- 3.11 Directive OPTION RENAMEKEYWORD
- 3.12 Directive OPTION DLLIMPORT
- 3.13 Directive OPTION CODEVIEW
- 3.13 Directive OPTION STACKBASE
- 3.15 Directives PUSHCONTEXT / POPCONTEXT ALIGNMENT
- 3.16 Directives .X64 and .X64p
- 3.17 Attribute LABEL for first Macro Parameter
- 3.18 Member Argument for IF[N]DEF and .ERR[N]DEF Directives
- 3.19 Initialization of Data Items with Type MMWORD/XMMWORD
- 3.20 Optional Array Size for LABEL Directive
- 3.21 Optional Name Argument for Simplified Segment Directives
- 3.22 Segment Attribute COMDAT
- 3.23 Attribute VARARGML for last Macro Parameter
- 3.24 Miscellaneous
- 4. Instruction Sets
- 5. Code Generation Differences
- 6. Output Formats
- 7. Masm bugs fixed in JWasm
- 8. Optional Features
- 9. Known Bugs and missing Features
- 10. License
- Appendix A. JWasm Reserved Words
- Appendix B. Source Samples
- Appendix C. Errors and Warnings
- Appendix D. Differences between Masm 6 and Masm 8
- Appendix E. Restrictions of precompiled 16-bit Binary JWASMR.EXE
- Appendix F. Additional Features of JWasm's Debug Version