模块化程序的疑问
帮忙看一下下面两个程序连接后有啥问题,为啥不显示字符串;sy36.asm
DATAS SEGMENT para common 'data'
DATAS ENDS
STACKS SEGMENT para stack 'stack'
STACKS ENDS
CODES SEGMENT para public 'code'
ASSUME CS:CODES,DS:DATAS,SS:STACKS
START:
MOV AX,DATAS
MOV DS,AX
CODES ENDS
END START
;sy37.asm
DATAS SEGMENT para common 'data'
buf1 db 'well come to china','$';此处输入数据段代码
DATAS ENDS
STACKS SEGMENT para stack 'stack'
;此处输入堆栈段代码
STACKS ENDS
CODES SEGMENT para public 'code'
mov dx,offset buf1
mov ah,9
int 21h
MOV AH,4CH
INT 21H
CODES ENDS
END
[[italic] 本帖最后由 longxies 于 2008-1-3 16:57 编辑 [/italic]]