实验8 奇怪的程序
这个程序不能运行么,我按照书上的写,但是会报错{:10_266:} 从提示看05.asm 第16行有问题
发代码 使用masm吧,真的,这个看着太难受了,使用masm,方便的不是一点半点。 assume cs:codesg
codesg segment
mov ax,4c00h
int 21h
start: mov ax,0
s: nop
nop
mov di,offset s
mov si,offset s2
mov ax,cs:
mov cs:,ax
s0:jmp short s
sl:mov ax,0
int 21h
mov ax,0
s2:jmp short s1
nop
codesg ends
end start
啊,知道哪有问题了orz Zmynx_2017 发表于 2018-4-5 13:02
使用masm吧,真的,这个看着太难受了,使用masm,方便的不是一点半点。
???
胡萝北 发表于 2018-4-5 15:32
???
链接:https://pan.baidu.com/s/1RZt62lVKHxkDx09Ab97Q-g 密码:3hxe
masm for windows 你使用这个进行代码的编译,运行,调试,会超级方便,
如果你愿意的话,可以试试,只是建议。 胡萝北 发表于 2018-4-5 15:31
assume cs:codesg
codesg segment
mov ax,4c00h
人造人 发表于 2018-4-5 18:59
恩恩
页:
[1]