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 p71.asm(14) : error A2004: symbol type conflict
mov ss,ax
mov sp,16
mov ax,datasg error A2004: symbol type conflict
mov ds,ax
mov bx,0
mov cx,4
s0:push cx
mov si,0
mov cx,4
s:mov al,[bx+si+3]
and al,11011111b
mov [bx+si+3],al
inc si
loop s
add bx,16
pop cx
loop s0
mov ax,4c00H
int 21H
codesg ends
end start
p71.asm(37) : warning A4023: with /coff switch, leading underscore required for start address : start
自已做,按书上做,甚至都抄下来都出错不知为什么,单词写也没有错呀。 |