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 , stacksg
mov ss , ax
mov sp , 16
mov ax , datasg
mov ds , ax
mov bx , 0
mov cx , 4
s0:
push cx
mov cx , 4
mov si , 3
s1:
mov al , [bx][si]
and al , 11011111b
mov [bx][si] , al
inc si
loop s1
pop cx
add bx , 16
loop s0
mov ax , 4c00h
int 21h
codesg ends
end start
王爽 汇编语言 实验六
最新推荐文章于 2023-03-06 10:28:26 发布