Compile Error: must be index or base register

instruction

mov ds:[dx],dx

 

Reason: the command register using relative addressing mode, only BX, BP, SI, DI

Square brackets must be indexed (index, means SI, DI) or a base address (base, means BX, BP) register

 

Correct wording:

mov ds:[bx],bx

 

Guess you like

Origin www.cnblogs.com/luocodes/p/11919598.html