|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
This option sets the base addresses for the specified files. EDITBIN assigns new base addresses in a contiguous address space according to the size of each file rounded up to the nearest 64 KB. For details about base addresses, see the Base Address (/BASE) linker option.
Specify the program's executable files and DLLs in the files argument on the EDITBIN command line in the order in which they are to be based. You can optionally specify one or more modifiers, each separated by a comma (,):
Provides a beginning address for reassigning base addresses to the files. Specify address in decimal or C-language notation. If BASE is not specified, the default starting base address is 0x400000. If DOWN is used, BASE must be specified, and address sets the end of the range of base addresses.
Creates a file named COFFBASE.TXT, which is a text file in the format expected by LINK's /BASE option.
Tells EDITBIN to reassign base addresses downward from an ending address. The files are reassigned in the order specified, with the first file located in the highest possible address below the end of the address range. BASE must be used with DOWN to ensure sufficient address space for basing the files. To determine the address space needed by the specified files, run EDITBIN with /REBASE on the files and add 64 KB to the displayed total size.