溢出时的高位自动舍弃了,就你这样就可以的。转化为完整的程序为:
CODE SEGMENT
ASSUME CS:CODE
BUF1 DB 1,2,3,4,5,6,7,8
BUF2 DB 8 DUP('?')
START: PUSH CS
POP DS
PUSH CS
POP ES
LEA SI, BUF1
LEA DI, BUF2
MOV CX, 8
NEXT1: MOV AL, [SI]
MOV BL, 3
MUL BL
MOV [DI+7], AL
INC SI
DEC DI
LOOP NEXT1
MOV AH,4CH
INT 21H
CODE ENDS
END START