没有合适的资源?快使用搜索试试~ 我知道了~
汇编课程设计报告
5星 · 超过95%的资源 需积分: 3 28 下载量 136 浏览量
2013-05-31
22:00:46
上传
评论 1
收藏 17KB TXT 举报
温馨提示
试读
33页
汇编课程设计学生成绩管理源代码,包括数据输入功能,修改功能,删除学生信息的功能,信息查找功能,课程成绩分析功能,文件写入及退出功能
资源推荐
资源详情
资源评论
DATA SEGMENT
TIPS0 DB 'Tips:',0DH,0AH,'$' ;插入提示信息
TIPS1 DB ' SEX: 1:boy 0:girl',0DH,0AH,'$'
TIPS3 DB 'Please input Num:$' ;查询提示信息
TIPS4 DB ' Please enter "r" to return$'
TIPS5 DB ' Please enter "r" to return$'
ID DB ' Num: $'
NAM DB ' Name: $'
SEX DB ' Sex: $'
SCORE DB 'Score: $'
FID DW ? ;文件号
SEXM DB 'boy $'
SEXF DB 'girl $'
mes1 DB ' * The Student Grade Management System *',0ah,0dh,'$'
mes2 DB ' * insert (i) *',0ah,0dh,'$'
mes3 DB ' * update (m) *',0ah,0dh,'$'
mes4 DB ' * delete (d) *',0ah,0dh,'$'
mes5 DB ' * select (q) *',0ah,0dh,'$'
mes6 DB ' * exit (e) *',0ah,0dh,'$'
mes7 DB ' * list (l) *',0ah,0dh,'$'
mes8 DB ' * please chose(l/i/m/d/q/e): *',0ah,0dh,'$'
ID_LENGTH EQU 4 ;配置信息
NAM_LENGTH EQU 20
SEX_LENGTH EQU 1 ;性别请勿更改位数
SCORE_LENGTH EQU 5
STU_LENGTH DW ? ;每条学生信息总长度
STU_LENGTH_ADD1 DW ?
NAM_SEX_SCORE_LENGTH DW ?
TIPS0 DB 'Tips:',0DH,0AH,'$' ;插入提示信息
TIPS1 DB ' SEX: 1:boy 0:girl',0DH,0AH,'$'
TIPS3 DB 'Please input Num:$' ;查询提示信息
TIPS4 DB ' Please enter "r" to return$'
TIPS5 DB ' Please enter "r" to return$'
ID DB ' Num: $'
NAM DB ' Name: $'
SEX DB ' Sex: $'
SCORE DB 'Score: $'
FID DW ? ;文件号
SEXM DB 'boy $'
SEXF DB 'girl $'
mes1 DB ' * The Student Grade Management System *',0ah,0dh,'$'
mes2 DB ' * insert (i) *',0ah,0dh,'$'
mes3 DB ' * update (m) *',0ah,0dh,'$'
mes4 DB ' * delete (d) *',0ah,0dh,'$'
mes5 DB ' * select (q) *',0ah,0dh,'$'
mes6 DB ' * exit (e) *',0ah,0dh,'$'
mes7 DB ' * list (l) *',0ah,0dh,'$'
mes8 DB ' * please chose(l/i/m/d/q/e): *',0ah,0dh,'$'
ID_LENGTH EQU 4 ;配置信息
NAM_LENGTH EQU 20
SEX_LENGTH EQU 1 ;性别请勿更改位数
SCORE_LENGTH EQU 5
STU_LENGTH DW ? ;每条学生信息总长度
STU_LENGTH_ADD1 DW ?
NAM_SEX_SCORE_LENGTH DW ?
DEL DB 30 DUP (' ') ;清空信息用
DEL_DONE DB ' Delete success !$'
ERR DB ' Data error,Please input again!$' ;错误提示信息
NOSTU DB ' Sorry,there is no this studnet!$'
ERR_NO DB ' No student information!$'
ERR_SAME DB ' There is the same ID,please input again!$'
NEWF DB 0DH,0AH,0DH,0AH,' Warning: this operation will empty all your data!',0DH,0AH,0DH,0AH,' Will you continue? (y:empty,other key:return):$'
FPATH DB 'c:\score.txt',0 ;数据库文本
STR1 DB 50 ;缓冲区str
DB ?
DB 50 DUP (?)
STR0 DB 50 DUP (?) ;缓冲区str0
ENTER1 DB ' $' ;空格
TMP DW 0 ;是否为空标志信息
SC DB 0 ;分数保护处用
BYE DB 'Thanks for use our program!',0DH,0AH,0DH,0AH,'Bye~ Bye~$'
DATA ENDS
huanhang MACRO ;换行
MOV AH,2
MOV DL,0DH
INT 21H
MOV DL,0AH
INT 21H
ENDM
DEL_DONE DB ' Delete success !$'
ERR DB ' Data error,Please input again!$' ;错误提示信息
NOSTU DB ' Sorry,there is no this studnet!$'
ERR_NO DB ' No student information!$'
ERR_SAME DB ' There is the same ID,please input again!$'
NEWF DB 0DH,0AH,0DH,0AH,' Warning: this operation will empty all your data!',0DH,0AH,0DH,0AH,' Will you continue? (y:empty,other key:return):$'
FPATH DB 'c:\score.txt',0 ;数据库文本
STR1 DB 50 ;缓冲区str
DB ?
DB 50 DUP (?)
STR0 DB 50 DUP (?) ;缓冲区str0
ENTER1 DB ' $' ;空格
TMP DW 0 ;是否为空标志信息
SC DB 0 ;分数保护处用
BYE DB 'Thanks for use our program!',0DH,0AH,0DH,0AH,'Bye~ Bye~$'
DATA ENDS
huanhang MACRO ;换行
MOV AH,2
MOV DL,0DH
INT 21H
MOV DL,0AH
INT 21H
ENDM
剩余32页未读,继续阅读
资源评论
- lovableming2013-09-21很好,可以用。对课程设计有帮助!!
木木猫
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功