(DS)=1234H (DI)=124H (12464H)=12EFH (12848H)=464H
LEA DI,[DI]
MOV AX,[DI]
MOV [DI+22H],1200H
LDS DI,[DI+20H]
ADD AX,[DI]
求DS=? DI=? AX=?
(DS)=1234H (DI)=124H (12464H)=12EFH (12848H)=464H
LEA DI,[DI]
MOV AX,[DI]
MOV [DI+22H],1200H
LDS DI,[DI+20H]
ADD AX,[DI]
求DS=? DI=? AX=?
LEA DI,[DI];di=124h
MOV AX,[DI];ax=12efh
MOV [DI+22H],1200H;(12486h)=1200h
LDS DI,[DI+20H];di=144h,ds=1236h
ADD AX,[DI];ax=12efh+144h=1433h
所以,ds=1236h,di=144h,ax=1433h