MASM MUL Operation Accepts Only One Operand (74882)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 5.1
- Microsoft Macro Assembler (MASM) 6.0
This article was previously published under Q74882 SUMMARY
The assembly language multiplication instruction MUL accepts only one
operand. The second operand is implied to be either the AX or the AL
register depending on whether an 8-bit multiplication or 16-bit
multiplication is being performed.
If a second operand is specified, the Microsoft Macro Assembler (MASM)
version 6.0 will generate the following error:
error A2008: syntax error : ,
MASM versions 5.1 and 5.1a generate the following warning:
warning A4001: Extra characters on line
Modification Type: | Minor | Last Reviewed: | 10/29/2003 |
---|
Keywords: | KB74882 |
---|
|