#2
Memoni2015-11-15 19:37
|
只有本站会员才能查看附件,请 登录
程序代码:
data segment
a db 'hello world$'
data ends
stack1 segment stack
dw 21h dup(?)
stack1 ends
code segment
assume cs:code,ss:stack1,ds:data
main:
mov ax,data
mov ds,ax
lea dx,a
mov ah,09h
int 21h
code ends
end main
a db 'hello world$'
data ends
stack1 segment stack
dw 21h dup(?)
stack1 ends
code segment
assume cs:code,ss:stack1,ds:data
main:
mov ax,data
mov ds,ax
lea dx,a
mov ah,09h
int 21h
code ends
end main
编译就提示非法指令,搜索也找不到答案。
[此贴子已经被作者于2015-11-15 19:44编辑过]