Assembler:Commands:MOV
Revision as of 16:08, 13 March 2017 by TheyCallMeTim13 (talk | contribs) (Created page with ''''command''' mov ''mnemonic'' ''destination'', ''source'' Sets the destination to the source. === Command Parameters === {|width="85%" cellpadding="10%" cellpadding="5%" cell…')
command mov mnemonic destination, source
Sets the destination to the source.
Command Parameters
Parameter | Description |
---|---|
mnemonic OPTIONAL | The size of the operand to move (based on registery size if not given) |
destination | The destination operand |
source | The source operand |
Examples
mov eax,0
mov rax,-1
mov [eax],0x9
mov [rax],1
mov [rax],rsi
mov eax,[rax]
mov rax,[rax]
mov byte ptr [rax],0
mov word ptr [rax],0
mov dword ptr [rax],0
mov qword ptr [rax],0