⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 4--统计学生成绩.mht

📁 汇编程序教程
💻 MHT
字号:
From: <由 Microsoft Internet Explorer 5 保存>
Subject: =?gb2312?B?yrXA/TQ=?=
Date: Tue, 7 Oct 2003 01:57:50 +0800
MIME-Version: 1.0
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.myfx.8u8.com/html/example4.htm
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>=CA=B5=C0=FD4</TITLE>
<META content=3D"text/html; charset=3Dgb2312" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3700.6699" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#00ffff text=3D#000000>
<P><B><FONT color=3D#0000ff size=3D3>=B3=CC=D0=F2</FONT><FONT =
color=3D#0000ff=20
face=3D"Georgia, Times New Roman, Times, serif" =
size=3D3>4</FONT></B><FONT=20
size=3D2>=A3=BA=B9=A6=C4=DC&nbsp; =CD=B3=BC=C6</FONT><FONT =
face=3D"Georgia, Times New Roman, Times, serif"=20
size=3D2>30</FONT><FONT =
size=3D2>=B8=F6=D1=A7=C9=FA=B3=C9=BC=A8=D6=D0=B5=C3=B7=D6=D4=DA</FONT><FO=
NT=20
face=3D"Georgia, Times New Roman, Times, serif" =
size=3D2>100~90</FONT><FONT=20
size=3D2>=A1=A2</FONT><FONT face=3D"Georgia, Times New Roman, Times, =
serif"=20
size=3D2>89~80</FONT><FONT size=3D2>=A1=A2</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" =
size=3D2>79~70</FONT><FONT=20
size=3D2>=A1=A2</FONT><FONT face=3D"Georgia, Times New Roman, Times, =
serif"=20
size=3D2>69~60</FONT><FONT =
size=3D2>=C7=F8=BC=E4=D2=D4=BC=B0=B5=CD=D3=DA</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>60</FONT><FONT=20
size=3D2>=B7=D6=B5=C4=C8=CB=CA=FD=A3=AC=B2=A2=BC=C6=CB=E3</FONT><FONT =
face=3D"Georgia, Times New Roman, Times, serif"=20
size=3D2>30</FONT><FONT =
size=3D2>=B8=F6=D1=A7=C9=FA=B5=C4=C6=BD=BE=F9=B3=C9=BC=A8=A3=A8=C8=A1=D5=FB=
=CA=FD=A3=A9=A3=AC=BD=E1=B9=FB=D2=C0=B4=CE=B4=E6=C8=EB=D6=B8=B6=A8=B5=C4=B4=
=E6=C8=EB=C7=F8=D3=F2=A1=A3<BR>&nbsp;=20
<B>=C0=FD=C8=E7=A3=BA</B><BR>&nbsp;=C4=DA=B4=E6=D6=D0=D3=D0</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>10</FONT><FONT =
size=3D2>=B8=F6=B7=D6=CA=FD=20
</FONT><FONT face=3D"Georgia, Times New Roman, Times, serif"=20
size=3D2>5EH</FONT><FONT size=3D2>=A3=AC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>50H</FONT><FONT =

size=3D2>=A3=AC</FONT><FONT face=3D"Georgia, Times New Roman, Times, =
serif"=20
size=3D2>64H</FONT><FONT size=3D2>=A3=AC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>52H</FONT><FONT =

size=3D2>=A3=AC</FONT><FONT face=3D"Georgia, Times New Roman, Times, =
serif"=20
size=3D2>55H</FONT><FONT size=3D2>=A3=AC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>48H</FONT><FONT =

size=3D2>=A3=AC</FONT><FONT face=3D"Georgia, Times New Roman, Times, =
serif"=20
size=3D2>3AH</FONT><FONT size=3D2>=A3=AC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>4AH</FONT><FONT =

size=3D2>=A3=AC</FONT><FONT face=3D"Georgia, Times New Roman, Times, =
serif"=20
size=3D2>40H</FONT><FONT size=3D2>=A3=AC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" =
size=3D2>42H<BR></FONT><FONT=20
size=3D2>&nbsp;=BD=E1=B9=FB=CE=AA </FONT><FONT face=3D"Georgia, Times =
New Roman, Times, serif"=20
size=3D2>02H</FONT><FONT size=3D2>=A3=AC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>03H</FONT><FONT =

size=3D2>=A3=AC</FONT><FONT face=3D"Georgia, Times New Roman, Times, =
serif"=20
size=3D2>02H</FONT><FONT size=3D2>=A3=AC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>02H</FONT><FONT =

size=3D2>=A3=AC</FONT><FONT face=3D"Georgia, Times New Roman, Times, =
serif"=20
size=3D2>01H</FONT><FONT size=3D2>=A3=AC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" size=3D2>4DH</FONT><FONT =

size=3D2>=A3=A8=C6=BD=BE=F9=B3=C9=BC=A8=A3=A9<BR>&nbsp;=B2=BF=B7=D6=B3=CC=
=D0=F2=D2=D1=BE=AD=B8=F8=B3=F6=A3=AC=C6=E4=D6=D0=D4=AD=CA=BC=CA=FD=BE=DD=D3=
=C9=B9=FD=B3=CC</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" =
size=3D2>LOAD</FONT><FONT=20
size=3D2>=B4=D3=CE=C4=BC=FE</FONT><FONT face=3D"Georgia, Times New =
Roman, Times, serif"=20
size=3D2>INPUT1.DAT</FONT><FONT size=3D2>=D6=D0=B6=C1=C8=EB</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" =
size=3D2>SOURCE</FONT><FONT=20
size=3D2>=BF=AA=CA=BC=B5=C4=C4=DA=B4=E6=B5=A5=D4=AA=D6=D0=A3=AC=D4=CB=CB=E3=
=BD=E1=B9=FB=D2=AA&nbsp;&nbsp; =C7=F3=B4=D3</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" =
size=3D2>RESULT</FONT><FONT=20
size=3D2>=BF=AA=CA=BC=B4=E6=B7=C5=A3=AC=D3=C9=B9=FD=B3=CC</FONT><FONT =
face=3D"Georgia, Times New Roman, Times, serif"=20
size=3D2>SAVE</FONT><FONT =
size=3D2>=B1=A3=B4=E6=B5=BD=CE=C4=BC=FE</FONT><FONT=20
face=3D"Georgia, Times New Roman, Times, serif" =
size=3D2>OUTPUT1.DAT</FONT><FONT=20
size=3D2>=D6=D0=A1=A3</FONT><FONT face=3D=BB=AA=CE=C4=CF=B8=BA=DA =
size=3D2>-S</FONT></P>
<P><FONT face=3D"Georgia, Times New Roman, Times, serif" =
size=3D2></FONT></P>
<P><FONT face=3DRomanC size=3D2>DATA SEGMENT<BR>SCORE DB=20
78,64,29,91,84,67,92,100,54,66<BR>COUNT EQU $</FONT>-<FONT face=3DRomanC =

size=3D2>CORE<BR>RESULT DB 6 DUP (?)<BR>DATA ENDS</FONT></P>
<P><FONT size=3D2>=A3=BB</FONT><FONT face=3DRomanC =
size=3D2>------------------</FONT><FONT=20
face=3DRomanC size=3D2><BR>CODE SEGMENT<BR>&nbsp;&nbsp;&nbsp;&nbsp; =
ASSUME=20
CS:CODE,DS:DATA<BR>&nbsp;&nbsp;&nbsp;&nbsp; MAIN PROC=20
FAR<BR>&nbsp;&nbsp;&nbsp;&nbsp; PUSH DS<BR>&nbsp;&nbsp;&nbsp;&nbsp; XOR=20
AX,AX<BR>&nbsp;&nbsp;&nbsp;&nbsp; PUSH AX<BR>&nbsp;&nbsp;&nbsp;&nbsp; =
MOV=20
AX,DATA<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV DS,AX<BR>START: MOV CX,COUNT=20
<BR>&nbsp;&nbsp;&nbsp; MOV AH,0<BR>&nbsp;&nbsp;&nbsp; MOV=20
BX,0<BR>&nbsp;&nbsp;&nbsp; MOV DX,0<BR>&nbsp;&nbsp;&nbsp; MOV SI,OFFSET=20
SCORE<BR>LOP: MOV AL,[SI]<BR>&nbsp;&nbsp;&nbsp; CMP =
AL,60<BR>&nbsp;&nbsp;&nbsp;=20
JB FAIL<BR>&nbsp;&nbsp;&nbsp; CMP AL,70<BR>&nbsp;&nbsp;&nbsp; JB=20
CHA<BR>&nbsp;&nbsp;&nbsp; CMP AL,80<BR>&nbsp;&nbsp;&nbsp; JB=20
ZHONG<BR>&nbsp;&nbsp;&nbsp; CMP AL,90<BR>&nbsp;&nbsp;&nbsp; JB =
LIANG<BR>YOU: INC=20
AH ;</FONT><FONT size=3D2>=D3=C5=D0=E3=A3=A8</FONT><FONT face=3DRomanC =
size=3D2>90-100</FONT><FONT=20
size=3D2>=A3=A9<BR></FONT><FONT face=3DRomanC =
size=3D2>&nbsp;&nbsp;&nbsp; JMP=20
DONE<BR>LIANG: INC BH </FONT><FONT =
size=3D2>=A3=BB=C1=BC=BA=C3=A3=A8</FONT><FONT face=3DRomanC=20
size=3D2>80-89</FONT><FONT size=3D2>=A3=A9<BR></FONT><FONT face=3DRomanC =

size=3D2>&nbsp;&nbsp;&nbsp; JMP DONE<BR>ZHONG: INC BL </FONT><FONT=20
size=3D2>=A3=BB=D6=D0=A3=A8</FONT><FONT face=3DRomanC =
size=3D2>70-79</FONT><FONT=20
size=3D2>=A3=A9<BR></FONT><FONT face=3DRomanC =
size=3D2>&nbsp;&nbsp;&nbsp; JMP DONE<BR>CHA:=20
INC DH </FONT><FONT size=3D2>=A3=BB=B2=EE=A3=A8</FONT><FONT =
face=3DRomanC size=3D2>60-69</FONT><FONT=20
size=3D2>=A3=A9<BR></FONT><FONT face=3DRomanC =
size=3D2>&nbsp;&nbsp;&nbsp; JMP DONE<BR>FAIL:=20
INC DL </FONT><FONT size=3D2>=A3=BB=B2=BB=BC=B0=B8=F1=A3=A8</FONT><FONT =
face=3DRomanC size=3D2>59-0</FONT><FONT=20
size=3D2>=A3=A9 <BR></FONT><FONT face=3DRomanC size=3D2>DONE: INC =
SI<BR>&nbsp;&nbsp;&nbsp;=20
LOOP LOP<BR>&nbsp;&nbsp;&nbsp; MOV DI,OFFSET =
RESULT<BR>&nbsp;&nbsp;&nbsp; MOV=20
[DI],AH<BR>&nbsp;&nbsp;&nbsp; MOV [DI+1],BH<BR>&nbsp;&nbsp;&nbsp; MOV=20
[DI+2],BL<BR>&nbsp;&nbsp;&nbsp; MOV [DI+3],DH<BR>&nbsp;&nbsp;&nbsp; MOV=20
[DI+4],DL<BR>&nbsp;&nbsp;&nbsp; MOV CX,COUNT </FONT><FONT=20
size=3D2>=A3=BB=C7=F3=C6=BD=BE=F9<BR></FONT><FONT face=3DRomanC =
size=3D2>&nbsp;&nbsp;&nbsp; MOV=20
DX,0<BR>&nbsp;&nbsp;&nbsp; MOV SI,OFFSET SCORE<BR>LOP1: MOV=20
AL,[SI]<BR>&nbsp;&nbsp;&nbsp; MOV AH,0<BR>&nbsp;&nbsp;&nbsp; ADD=20
DX,AX<BR>&nbsp;&nbsp;&nbsp; INC SI<BR>&nbsp;&nbsp;&nbsp; LOOP=20
LOP1<BR>&nbsp;&nbsp;&nbsp; MOV AX,DX<BR>&nbsp;&nbsp;&nbsp; MOV=20
BL,COUNT<BR>&nbsp;&nbsp;&nbsp; DIV BL<BR>&nbsp;&nbsp;&nbsp; MOV =
DI,OFFSET=20
RESULT<BR>&nbsp;&nbsp;&nbsp; MOV [DI+5],AL<BR>&nbsp;&nbsp;&nbsp; =
RET<BR>MAIN=20
ENDP<BR>CODE ENDS<BR>&nbsp;&nbsp;&nbsp;&nbsp; END MAIN</FONT></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -