documentation
.HELP!
Asmc Macro Assembler Documentation
3.5 Directive OPTION FIELDALIGN
Asmc Macro Assembler
previous page
next page
3.5 Directive OPTION FIELDALIGN
OPTION FIELDALIGN sets the default value for structure alignment. The default value is 1 or the value set by cmdline switch -Zp. Syntax is:
OPTION FIELDALIGN: [1|2|4|8|16|32]
The current default value can be saved/restored with directives
PUSHCONTEXT / POPCONTEXT ALIGNMENT
,
previous page
start
next page
Menu
Homepage
Table of contents
ASMC
Asmc Command-Line Reference
Asmc Error Messages
Asmc Extensions
Directives Reference
Symbols Reference
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
3.24.1 Numeric constant __JWASM__
3.24.2 Operating System Argument for .MODEL
3.24.3 Accepted Parameters for IF[N]DEF Directive
3.24.4 Visibility of Procedures
3.24.5 Non-RIP-Relative Addressing in 64-Bit
4. Instruction Sets
5. Code Generation Differences
5.1 Forward References in Macro Expressions
6. Output Formats
6.1 OMF Output Format
6.2 COFF Output Format
6.3 Win64 Output Format
6.4 Binary Output Format
6.5 PE Output Format
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
Win64_3 - SEH Support in Win64
Win64_3e - SEH Support in Win64 (JWasm specific)
DOS64 - Switch to Long Mode and Back
Win32_5 - Create a Win32 Binary with -bin
Win32_7 - Usage of OPTION DLLIMPORT and -Fd Switch
Win64_8 - Create a Win64 Binary with -pe
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
Get in touch
Submit feedback about this site to:
[email protected]