摘要: 先写一个测试程序"HelloWorld",取名test.asm, 如下:;DTA数据传输区,存放文件的相关控制信息,它的作用是在磁盘文件与程序之间做一个桥梁,程序写文件时先写DTA,程序读文件时就直接从DTA中读取文件的信息。.model tiny.codeorg 0100hok: mov dx,offset message mov ah,09hint 21hmov ah,4chint 21hretmessage db 'HelloWorld!!',0dh,0ah,'$'end ok用: tasm test.asm 编译,再tlink tes 阅读全文
posted @ 2011-03-14 17:56 维唯为为 阅读(230) 评论(0) 推荐(0)