mov
The move instructions copy data from one register or memory location to another.
| Instruction | Encoding | Semantics | Cycles | 
|---|---|---|---|
mov reg8, imm8 | 00 rrr 010 imm8 | 2/33/54/65 | |
mov dreg8, sreg81 | 10 ddd rrr | 2/33,6/44,7/55 | |
mov [imm16], acc | 10 111 110 imm16 | 6/78 | |
mov acc, [imm16] | 10 110 111 imm16 | 6/78 | |
mov [reg16], acc | 11 00 00ww | 3/48 | |
mov [reg16++], acc | 11 00 01ww | 4/58 | |
mov [--reg16], acc | 11 00 10ww | 4/58 | |
mov [reg16+imm8s16], acc | 11 00 11ww imm8 | 6/78/89/98 and 9 | |
mov acc, [reg16] | 11 01 00ww | 3/48 | |
mov acc, [reg16++] | 11 01 01ww | 4/58 | |
mov acc, [--reg16] | 11 01 10ww | 4/58 | |
mov acc, [reg16+imm8s16] | 11 01 11ww imm8 | 6/78/89/98 and 9 | |
mov reg16, imm16 | 11 10 11ww imm16 | 3 | |
mov dreg16, sreg162 | 11 11 vvww | 3 | 
- no identity 
movs (ddd=rrr), nomov [pi], acc(ddd=110andrrr=111), and nomov acc, [pi](ddd=111andrrr=110) - no identity 
movs (vv=ww) - if the destination register is 
acc - if the destination is 
[pi]and withoutprefix_a16 - if the destination is 
[pi]and withprefix_a16(the cycle ofprefix_a16itself is not included) - if the source is 
[pi]and withoutprefix_a16 - if the source is 
[pi]and withprefix_a16 - with 
prefix_a16 - if