注册 登录
编程论坛 汇编论坛

问一下各位大哥大姐汇编语言的一些疑难问题

雪芽 发布于 2007-06-21 17:15, 1206 次点击

我是一只刚刚进来的菜鸟,学习的是汇编语言,对于汇编语言基本上是不懂的,这不,下面这些程序错在那里也不懂,总之,一输入就有错,是什么第34行错了,可是他只有32行啊?!各位大侠帮帮忙啊?!

crlf macro
mov dl,0dh
mov ah,02h
int 21h
mov dl,0ah
int 21h
enta
data segment
data1 db 37h,49h,53h,19h,46h
data2 db 90h,87h,49h,31h,25h
data ends
code segment
assume cs:code,de:data
start:mov ax,data
mov ds:ax
mov si,offset data1
mov bx,5
call displ
crlf
mov si,offset data2
movbx,5
call displ
crlf
mov si,offset data1
mov di,offset data2
mov cx,5
call displ
crlf
mov ah,4ch
int 21h
code ends
end start

7 回复
#2
曾小2007-06-21 18:25
code segment
assume cs:code,de:data//ds:data
start:mov ax,data
mov ds:ax//ds,ax
mov si,offset data1
mov bx,5
call displ
crlf
mov si,offset data2
movbx,5
call displ
crlf
mov si,offset data1
mov di,offset data2
mov cx,5
call displ
crlf
mov ah,4ch
int 21h
code ends

end start
#3
爱以走远2007-06-21 18:36

#4
雪芽2007-06-22 08:05
谢谢上面的大侠指教啊!我惭愧啊!
#5
I喜欢c2007-06-24 10:02


这些基本的都掉了,细心呀..
#6
hero20072007-06-24 22:11
呵呵,二楼的回答的不错。
#7
coopery2007-06-26 10:45

一定要细心啊

#8
曾小2007-08-11 20:23
我 终于 又来 了
1