LINK Help (linkx.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
/PADC Option
                                             Up Contents Index Back
─────/PADC Option───────────────────────────────────────────────────────────
 
     Syntax:  /PADC[ODE][:padsize]
 
     The /PADC option adds filler bytes to the end of each code segment
     for subsequent linking with ILINK. Use /PADC only with the /INCR
     option. You can also specify the /PADD option to add padding to
     data segments.
     See: /INCR Option
          /PADD Option
 
     Specify <padsize> in decimal format or C-language notation. The
     default is 0 bytes. Padding is added once for each contribution to
     a segment; multiple pads can appear in one segment. The total size
     of padding plus physical segment cannot exceed 64K.
     See: Entering Numeric Arguments
 
     LINK recognizes segment definitions with class names that end in
     CODE as code segments. Microsoft high-level languages
     automatically use this declaration for code segments.
 
     Code padding is not usually necessary for programs with multiple
     code segments. It is recommended for mixed-model programs,
     programs with one code segment, and assembly-language programs in
     which code segments are grouped.
                                    -♦-