Incorrect Error Message "DUP Record Too Large" on Structure

ID Number: Q23613

4.00

MS-DOS

buglist4.00 fixlist5.00

Question:

A MASM program generates the error message "DUP record

too large" on a structure filled with DBs and DWs. If

each DB takes 1 byte and each DW takes 2 bytes, why should

the structure not should take 119 bytes (which is well

within the 512-byte limit)?

Response:

The problem originates with the DBs and DWs taking up

more memory than 1 and 2 bytes. Each DB uses between 60 and

90 bytes of memory. The problem is corrected in Version 5.00

of the Macro Assembler.