这个怎么错了这么多啊
assume cs:code, ds:a, ss:ca segment
db 1,2,3,4,5,6,7,8
a ends
c segment
db 0,0,0,0,0,0,0,0
c ends
code assume
star:mov ax,a
mov ds,ax
mov cx,c
mov ss,cx
mov cx,8
mov bx,0
loop: add ss:,ds:
add bx,2
loop s
mov 4c00h
int 21h
code ends
end star
assume cs:code, ds:a, ss:c
a segment
db 1,2,3,4,5,6,7,8
a ends
c segment
db 0,0,0,0,0,0,0,0
c ends
code segment ;code assume
star: mov ax,a
mov ds,ax
mov cx,c
mov ss,cx
mov cx,8
mov bx,0
;loop:标号要一致
s: ;add ss:,ds: 不能直接这样写
mov dx,ds:
add ss:,dx
add bx,2
loop s
; mov 4c00h
mov ax,4c00h
int 21h
code ends
end star 虽然不能回答你的问题但是沙发是我的了{:5_95:} hxs554f 发表于 2012-4-10 12:44 static/image/common/back.gif
assume cs:code, ds:a, ss:c
a segment
db 1,2,3,4,5,6,7,8
谢谢啊怪不得呢 hxs554f 发表于 2012-4-9 22:04 static/image/common/back.gif
assume cs:code, ds:a, ss:c
a segment
db 1,2,3,4,5,6,7,8
可是还是有错误啊152.asm,<1>.errorA2008::c
152.asm,<6>;error A2008: ;c
.................................: :c
...........................; c
怎么还有问题啊 c是masm的关键字,建议用其他代替 oo xiexie a 虽然不能回答你的问题 但是沙发是我的了 虽然不能回答你的问题 但是沙发是我的了
页:
[1]