文件名称:电话号码本编辑和查找程序的设计与实现
文件大小:10KB
文件格式:ASM
更新时间:2012-04-26 10:49:20
号码编辑
DATAS SEGMENT ;此处输入数据段代码 messg0 db ' Phone Seach System$' messg1 db 'No Record!$' messg2 db 'Please Input your name:$' messg3 db 'Please Input your phone number:$' messg4 db '0:Input, 1:Search, 2:Over!$' messg5 db 'Name Number$' messg6 db 'Please Input the name you want to search:$' messg7 db 'Plese chose the number you want to operte: 0, 1, 2?$' warning db 'Input Error!$' space db ' $' sign db 0 index db -1 number db -1 src1 db 20 src2 db 11 namep db 20,0, 20 dup(?) phone db 12,0,12 dup(?) nametab db 50 dup(20 DUP(' ')),'$' phonetab db 50 dup(11 DUP(' ')),'$' DATAS ENDS STACKS SEGMENT ;此处输入堆栈段代码 STACKS ENDS CODES SEGMENT main proc far ASSUME CS:CODES,DS:DATAS,SS:STACKS START: MOV AX,DATAS MOV DS,AX ;此处输入代码段代码 LEA DX,messg0 MOV AH,9