标题:error A2105: Expected: instruction or directive谁给看看
取消只看楼主
gxppa2006
Rank: 1
等 级:新手上路
帖 子:178
专家分:0
注 册:2007-2-27
 问题点数:0 回复次数:0 
error A2105: Expected: instruction or directive谁给看看

data segment
count dw 1
msg db 'The message is show',0dh,0ah,'$'
data ends
code segment
assume cs:code,ds:data
start: mov ax,data
mov ds,ax
mov al,1ch
mov ah,35h
int 21h
push es
push bx
push ds

mov dx,offset show
mov ax,seg show
mov ds,ax
mov al,1ch
mov ah,25h
int 21h

pop ds
in al,21h
and al,11111110b
out 21h,al
sti

mov di,20000
delay: mov si,30000
delay1: dec si
jnz delay1
dec di
jnz delay

pop dx
pop ds
mov al,1ch
mov ah,25h
int 21h

mov ah,4ch
int 21h

show proc near
push ds
push ax
push cx
push dx

mov ax,data
mov ds,ax
sti

dec count
inz exit1

mov dx,offset msg
mov ah,09h
int 21h

mov count,182
exit1:
cli
pop dx
pop cx
pop ax
pop ds
iret
show endp
code ends
end start



Microsoft (R) Macro Assembler Version 5.00
Copyright (C) Microsoft Corp 1981-1985, 1987. All rights reserved.

Object filename [int.OBJ]:
Source listing [NUL.LST]:
Cross-reference [NUL.CRF]:
int.asm(61): error A2105: Expected: instruction or directive

50820 + 415452 Bytes symbol space free

0 Warning Errors
1 Severe Errors

上面的错误为什么啊

搜索更多相关主题的帖子: directive instruction mov error Expected 
2007-07-05 08:30



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-152855-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.094740 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved