CALL DISP POP SI POP DI POP BX POP AX IRET
FULL SFM PROC NEAR LEA DI,DISBUF LEA BX,LED LEA SI,SECOND MOV CX,3 AA4:
MOV AL,[SI] AND AL,0FH XLAT
MOV [DI],AL INC DI
MOV AL,[SI] PUSH CX MOV CL,4 SHR AL,CL AND AL,0FH XLAT MOV [DI],AL INC DI POP CX INC SI LOOP AA4 RET
FULL SFM ENDP
FULL SHI PROC NEAR LEA SI,DISBUF MOV AL,0 MOV CX,4 CCC0: MOV [SI],AL INC SI
LOOP CCC0
LEA BX,LED
MOV AL,HOUR AND AL,0FH XLAT
MOV [SI],AL XLAT
MOV [SI],AL MOV AL,HOUR MOV CL,4 SHR AL,CL AND AL,0FH XLAT
INC SI
MOV [SI],AL RET
FULL SHI ENDP
FULL FEN PROC NEAR LEA SI,DISBUF MOV AL,0 MOV [SI],AL INC SI
MOV [SI],AL INC SI
LEA BX,LED
MOV AL,MINUTE AND AL,0FH XLAT
MOV [SI],AL MOV AL,MINUTE MOV CL,4 SHR AL,CL
AND AL,0FH XLAT INC SI
MOV [SI],AL RET
FULL FEN ENDP
FULL MIAO PROC NEAR LEA SI,DISBUF LEA BX,LED
MOV AL,SECOND AND AL,0FH XLAT
MOV [SI],AL MOV AL,SECOND MOV CL,4 SHR AL,CL AND AL,0FH XLAT INC SI
MOV [SI],AL MOV AL,0 INC SI
MOV [SI],AL INC SI
MOV [SI],AL INC SI
MOV [SI],AL INC SI
MOV [SI],AL RET
FULL MIAO ENDP DISP PROC NEAR MOV CX,8
MOV DX,D8279 LEA SI,DISBUF DISI
MOV AL,[SI] OUT DX,AL INC SI LOOP DISI RET CODE ENDS
END START