一起来看看 是什么情况
file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\2030173341\QQ\WinTemp\RichOle\KE_CA%EZ$NH]HJCFDJPAA~I.jpg 虚拟机下 xp 系统一直是这种情况有没有同遭遇的伙伴。一起来讨论讨论哦!file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\2030173341\QQ\WinTemp\RichOle\KE_CA%EZ$NH]HJCFDJPAA~I.jpg最好使用一段安全内存 0:200 ~ 0:2ff 福禄娃娃 发表于 2013-12-1 16:54 static/image/common/back.gif
最好使用一段安全内存 0:200 ~ 0:2ff
assume cs:code
data segment
db'welcome to masm!',0
data ends
code segment
start: mov cl, 2
mov dh, 10
mov dl, 10
mov ax, data
mov ds, ax
mov si, 0
int 7ch
mov ax, 4c00h
int 21h
code ends
end start
assume cs:code
code segment
start: mov ax, cs
mov ds, ax
mov si, offset d0
mov ax, 0
mov es, ax
mov di, 200h
mov cx, offset d2 - offset d0
cld
rep movsb
mov ax, 0
mov es, ax
mov es:, 200h
mov es:, 0
mov ax, 4c00h
int 21h
d0:
push ax
push es
push di
push bx
mov ax, 0b800h
mov es, ax
mov ax, 160
mul dh
mov bx, ax
mov ax, 2
mul dl
add ax, bx
mov di, ax
mov bl, cl
mov cl, 0
mov ch,
jcxz d1
mov es:, ch
mov es:, bl
add di, 2
inc si
d1: pop bx
pop di
pop es
pop ax
iret
mov ax, 4c00h
int 21h
d2: nop
code ends
end start
杨学子 发表于 2013-12-1 17:05 static/image/common/back.gif
assume cs:code
data segment
db'welcome to masm!',0
你是的安全地址是指哪段?哥们 我是这几天开始学的 谢谢了 福禄娃娃 发表于 2013-12-1 16:54 static/image/common/back.gif
最好使用一段安全内存 0:200 ~ 0:2ff
int 中断是放在安全地址里的 你写的数据没有写进去,然后又运行就会遇到无效指令 good 发表于 2013-12-1 20:39 static/image/common/back.gif
你写的数据没有写进去,然后又运行就会遇到无效指令
哥们你看看 代码你调试下 我觉得没错误的
页:
[1]