News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

The mov that copies

Started by Sergiu FUNIERU, March 01, 2010, 01:00:24 AM

Previous topic - Next topic

Sergiu FUNIERU

The mov mnemonic was one of the hardest to understand.

In my mind, to mov(e) means to copy then to delete the original. It seems that in asm "mov" practically means "copy".

Is any reason for calling the copy mov(e)? Is there any cop mnemonic?

hutch--

Sergiu,

You are arguing with history here, the MOV family of mnemonics on x86 entail copy data from the source operand to the destination operand. The term copy is generally a bit wider with many data types and sizes.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Sergiu FUNIERU

Quote from: hutch-- on March 01, 2010, 01:27:22 AMThe term copy is generally a bit wider with many data types and sizes.
Interesting! That's a difference I didn't think of.

joemc

When i think copy i think from memory to memory, which is two movs, or a push and a pop. but i can see what you are saying.

dedndave

on many non-intel processors, it is LOAD, LD, LOD