Microsoft KB Archive/49699

From BetaArchive Wiki
Knowledge Base


DOCERR: MASM Err Msg A2063, Name in .MODEL SMALL Not Ignored

Article ID: 49699

Article Last Modified on 10/17/2003



APPLIES TO

  • Microsoft Macro Assembler 5.0
  • Microsoft Macro Assembler 5.1 Standard Edition
  • Microsoft Macro Assembler 5.1a



This article was previously published under Q49699

SUMMARY

Page 89 of the "Microsoft Macro Assembler 5.0: Programmer's Guide" and page 89 of the "Microsoft Macro Assembler 5.1: Programmer's Guide" incorrectly state that:

"Name will be ignored if given with small or compact models."

With .MODEL small or .MODEL compact, the name for code segments is not ignored, but does produce the following error:

A2063: Operand Combination Illegal

Sample Code

; Assemble options needed: none

.MODEL small

.CODE home
start:
    mov ax, 4C00h
    int 21h
END start:
                


Additional query words: 5.00 5.10 5.10a

Keywords: KB49699