MASM 6.0 May Generate A2103 Error When Assembling with /Zi

ID Number: Q72482

6.00 | 6.00

MS-DOS | OS/2

buglist6.00

Summary:

The Microsoft Macro Assembler (MASM) version 6.0 may generate the

following error if a large module is assembled with /Zi to generate

CodeView symbolic information:

error A2103: segment exceeds 64K limit

If you are not near the 64K limit in code or data, it is possible that

the $$SYMBOL segment created for CodeView's symbolic information has

grown too large.

If you require full symbolic information, the only workaround is to

split the module up into smaller files and reassemble. If you only

need line numbers to debug this module, you can use the /Zd (generate

line numbers) switch as a workaround.

Note that the A2103 error may occur even when your source module is

defined with the ".386" and ".MODEL FLAT" directives because MASM

version 6.0 always defines the $$SYMBOL segment as a 16-bit segment.

Microsoft has confirmed this to be a problem in MASM version 6.0. We

are researching this problem and will post new information here as it

becomes available.