The CODE statement defines the default attributes for all code segments within the application or DLL. The SEGMENTS statement can override this default for one or more specific segments.
Syntax
CODE [[attribute...]]
Remarks
This statement accepts several optional attribute fields: conforming, discard, executeonly, iopl, load, movable, and shared. Each can appear once, in any order. These fields are described in Section 13.15, “CODE, DATA, and SEGMENTS Attributes.”
Example
The following example sets defaults for the program's code segments. No code segments in the program are loaded until accessed, and all require I/O hardware privilege.
CODE LOADONCALL IOPL