;输入十个人的成绩,求平均成绩和最高分、最低分。
DATAS SEGMENT
BUF DW 10 DUP(?)
BUF0 DB 'please input 10 integer, remember that the number should have two bits','$'
BUF1 DB 'The average is:','$'
BUF2 DB 'max=','$'
BUF3 DB 'min=','$'
BUF4 DB 'SUM=','$'
SUM DW ?
AVE DW ?
...