汇编语言,问题求详解以及解决方法!程序代码多,给个链接!
程序显示k.asm<6>:errorA2105:Expected:instructionordirective怎么破!!链接忘了发呵呵!http://tieba.baid...
程序显示
k.asm<6>:error A2105:Expected:instruction or directive
怎么破!!
链接忘了发
呵呵!http://tieba.baidu.com/p/2302706644 展开
k.asm<6>:error A2105:Expected:instruction or directive
怎么破!!
链接忘了发
呵呵!http://tieba.baidu.com/p/2302706644 展开
1个回答
展开全部
将DATA SEGMENT...ENDS
改为DATA SEGMENT ...DATA DNDS
编译、链接、运行如下
STACK SEGMENT STACK 'STACK'
DW 64 DUP(?)
STACK ENDS
DATA SEGMENT
DW ?
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA,SS:STACK
START:
MOV AX,DATA
MOV DS,AX
MOV CX,8
AGAIN:SHL BL,1
MOV DL,0
ADC DL,30H
MOV AH,2
INT 21H
LOOP AGAIN
MOV AH,4CH
INT 21H
CODE ENDS
END START
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询