From: "glen herrmannsfeldt" <[email protected]>
Sent: Saturday, May 02, 2015 2:09 AM


Seems to me what would be nice is a way to use the length of the
second operand as the length for MVC or CLC.

Definitely not.
But a macro could be written to deal with the general case.

If you are copying into a buffer, it is the length of the source,
not the length of the buffer, that you want to use.

Once you do that, the given problem goes away.

But another one arises -- the source may be longer than the destination,
and so the move trashes memory beyond the buffer.


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

Reply via email to