【汇编语言(第3版)王爽】问题7.9代码
assume cs:codesg, ss:stacksg, ds:datasg stacksg segment dw 0,0,0,0,0,0,0,0 stacksg ends datasg segment db '1. display ' db '2. brows ' db '3. replace ' db '4. modify ' datasg ends codesg segment start: mov ax,datasg mov ds,ax mov ax,stacksg mov ss,ax mov bx,0 mov cx,4 s: push cx mov si,0 mov cx,4 s0: mov ah,3[bx][si] and ah,11011111b mov 3[bx][si],ah inc si loop s0 pop cx add bx,16 loop s mov ah,4ch int 21h codesg ends end start