12.5.27 The /PADC Option

Option

/PADC[[ODE]][[:padsize]]

The /PADC option adds filler bytes to the end of each code segment for use when later linking with ILINK. If you use /PADC, you must also specify the /INCR option.

The padsize is optional; the default is 0 bytes. If incremental linking fails, you can specify a padsize in decimal format or C-language notation. For example, /PADC:256 adds an additional 256 bytes to each code segment. (You can also use 0400 or 0x100 to specify 256 bytes.)

The linker recognizes code segments as segment definitions with class names that end in CODE. Microsoft high-level languages automatically use this declaration for code segments. Code padding is not usually necessary for programs with multiple code segments but is recommended for mixed-model programs, programs with one code segment, and assembly-language programs in which code segments are grouped.