![]() |
#2
东海一鱼2010-07-16 11:21
|
.model tiny
.code
org 0100h
ok: mov dx,offset msgstr
mov ah,09h
int 21h
mov ax,4ch
int 21h
ret
msgstr db "hello world!!",0dh,0ah,'$'
end ok
这段程序为什么在Masm for Windows 集成实验环境 2010种不能够正常显示出来?
还有啊?这种方式和我以前写的:
assume cs:code
code segment
start:
mov ax,1000h
mov bh,1
div bh
code ends
end start
这种形式有什么区别啊?怎么好像很乱啊?也不是.386模式啊?