1. General registers: 32 bits: EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI
16位:AX,CX,DX,BX,SP,BP,SI,DI
8位:AL, CL, DL, BL, AH, CH, DH, BH
2. MOV syntax:
MOV destination operand source operand
Function: copy the source operand to the destination operand
In addition, logical operations such as SUB, ADD, XOR, AND, etc. are also applied
3. The source operand can be an immediate value, a general-purpose register, a segment register, or a memory unit
4. The target operand can be a general-purpose register, a segment register, or a memory unit
5. The width of the operands must be the same
6. The source operand and the destination operand cannot be memory units at the same time
7. The format of writing data from the specified memory:
mov dword (can also be other) ptr ds [0x0012FF34], 0x12345678
mov eax ptr ds:[0x0012FF34]
Specifically as shown in the figure below: