实验报告模板—汇编语言..docVIP

  • 4
  • 0
  • 约2.19万字
  • 约 32页
  • 2017-01-12 发布于重庆
  • 举报
实验报告模板—汇编语言.

云南大学软件学院实验报告 姓名 年级 班级 学号 专业 序号 实验 名称 成绩 指导教师 (签名): 实验原理(基本知识简单介绍、算法、流程) 实验结果(截图,提供实验测试/调试的结果等,在空白地方手写注释) Student struc m_sName db 6 dup( ) m_sNum db 8 dup( ) m_sScore db 3 dup( ) Student ends stsg segment stack s dw 32 dup(?) stsg ends anykey macro mov ah,7 int 21h endm anykeyback macro anykey showmsg back endm crlfm macro push ax push dx mov ah,9 lea dx,crlf int 21h pop dx pop ax endm exchange macro i,j push cx push si push di mov cx,17;t=[i],即t=前项 mov si,i lea di,stutemp rep movsb mov cx,17;i=j,si-后项,即前项=后项 mov di,i ; rep movsb mov cx,17;j=t,di-后项,即后项=t lea si,stutemp rep movsb mov swapped,1 pop di pop si pop cx endm space macro push dx push ax lea dx,gap mov ah,9 int 21h pop ax pop dx endm showmsg macro n push ax push dx mov ah,9 lea dx,msgn int 21h pop dx pop ax endm movitem macro dst,src push cx push di push si cld mov cx,17 lea di,[dst] lea si,[src] rep movsb pop si pop di pop cx endm data segment studentx student 30 dup() stutemp db 17 dup (0),$ studisp db 19 dup(0),$ namepar LABEL BYTE maxnlen db 7 namelen db ? namefld db 7 dup(?) numpar label byte maxmlen db 9 numlen db ? numfld db 9 dup(?) scopar label byte maxsco db 4 scolen db ? scofld db 4 dup(?) ;输入文件路径缓冲区 pathpar label byte pathmax db 40 pathlen db ? pathnam db 40 dup(?) ae90 db 0 ae80 db 0 ae70 db 0 ae60 db 0 b60 db 0 msg_b60 db 9,9,Scores60:$ msg_ae60 db 9,9,Scores=60:$ msg_ae70 db 9,9,Scores=70:$ msg_ae80 db 9,9,Scores=80:$ msg_ae90 db 9,9,Scores=90:$

文档评论(0)

1亿VIP精品文档

相关文档