DOCERR: MOV mem,accum and MOV accum,mem Formats Documented Wrong (39372)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 5.0
- Microsoft Macro Assembler (MASM) 5.1
- Microsoft Macro Assembler (MASM) 5.1a
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
This article was previously published under Q39372 SUMMARY
There is a documentation error on page 77 of the "Microsoft Macro
Assembler 5.1 Reference" and page 112 of the "Microsoft Macro Assember
Reference" that comes with MASM 6.0, 6.0a, and 6.0b. The encodings
given for the following forms of the MOV instruction are incorrectly
documented
MOV mem, accum
MOV accum, mem
The manual describes the format of these instructions as 101000dw on
those pages. The section describing the encodings (p. 27 for MASM 5.1
and p. 59 for MASM 6.0, 6.0a, 6.0b) says that a value of 1 for d (the
direction flag) means that the move goes from memory to register and a
0 for d means to move from the register to memory. This results in an
incorrect encoding for these forms of the MOV instruction.
Modification Type: | Major | Last Reviewed: | 10/29/2003 |
---|
Keywords: | KB39372 |
---|
|