; 本程序通过编译,运行正确。
Code Segment
Assume CS:Code,DS:Code
Start: mov al,79
mov cl,3
xor ah,ah ;ax高位字节置0
mov bx,ax ;保存ax
shl ax,1 ;ax*2
mov dx,ax ;保存ax
shl ax,cl ;ax*8,实现ax*16
add ax,dx ;实现ax*18
add ax,bx ;实现ax*19
Exit_Proc: mov ah,4ch ;结束程序
int 21h
Code ENDS
END Start ;编译到此结束