assume cs:code,ds:data,ss:stack
start:mov ax,data;程序开始点
mov ds,ax
mov al,mnum
call msch
mov cx,3
again:mov dl,[bx]
mov ah,2
int21h
inc bx
loop again
mov ax,4c00h
int21h;程序结束
;子程序:采用寄存器传递入口参数和出口参数msch proc
push si
dec al
xor ah,ah
mov si,ax
shl ax,1
add si,ax;月份乘以3作为索引
mov bx,month[si];因为每个英文缩写都是3个字符
pop si
ret
msch endp
code ends
end start