Supplied with the assembler, is a utility program which can be used to compress macro files using tab compression. The utility can also expand those files should your editor not be able to handle the compressed format. The utility is freely redistributable. The source has been placed into the public domain and is available from: http://www.tachyonsoft.com/x390tab.c.
In a macro expansion the sequence number field (columns 73-80) is not shown on assembly listings, so it can be removed without loss of information. Not only does this save 8 bytes per line, it allows any blanks preceding the sequence field to be trimmed. The line may be further compressed using tab stops every 8 characters. For Windows, a final compression allowed by the assembler is to use UNIX-style end-of-line delimiters instead of DOS-style ones, saving one byte per line. Even though the compression achievable through this utility is not nearly as good as can be obtained using a ZIP utility, you might want to strip off sequence numbers and convert end-of-line delimiters before putting macros in ZIP files in order to achieve the maximum possible compression.
The utility is supplied as a native 32-bit command-line (console-mode) program. You can run the utility from the command line as follows:
x390tab [options] filesAt least one file must be specified. The files and options may be specified in any order. All of the options must start with a dash. Any letters in the options may be specified in upper or lower case. Wild card characters are allowed in the file specifications on non-UNIX systems.
For maximum compression of macro files, you can run the utility like this:
x390tab -L72 -U *.macThis will compress all files in the current directory with an extension of .mac.