Description: 这是初学者学习汇编语言的必备编译链接工具!
先要设置一下环境变量,下载此压缩包后,解压缩到一个路径,然后将此路径添加到系统变量的path下,然后在命令行键入masm进行编译,键入link进行链接-This is a beginner to learn assembly language compiler links essential tool! Must set some environment variables, download the compressed package, unzip it into a path, then the path to your system path variable, and then type the command line to compile MASM, type link link Platform: |
Size: 178176 |
Author:laymu |
Hits:
Description: 下载附件中的winrar压缩包,在本机磁盘中解压后修改C:\autoexec.bat
在autoexc.bat中加入以下内容
SET PATH=E:\USER\ZDX\MASM614\BIN E:\USER\ZDX\MASM614\BINR PATH
SET LIB=E:\USER\ZDX\MASM614\LIB LIB
SET INCLUDE=E:\USER\ZDX\MASM614\INCLUDE INCLUDE
SET INIT=E:\USER\ZDX\MASM614\INIT INIT
SET HELPFILES=E:\USER\ZDX\MASM614\HELP\*.HLP HELPFILES
SET ASMEX=E:\USER\ZDX\MASM614\SAMPLES ASMEX
SET TMP=C:\TEMP
注意其中的路径要与你解压后的路径相同
重启机器
编辑,用任何一种文件(源程序)编辑软件都可以,比如ultraedit
编译,在dos窗口下用masm 文件名[.asm]连接,在dos窗口下用mlink(link.exe) 文件名[.obj]
运行,在dos窗口下 文件名[.exe]
当汇编程序中有字符串输出/入时,在windows操作系统的DOS窗口中可能无法正常工作,
这时,可用alt+enter键使dos窗口全屏显示,基本可以解决此问题。-Download the attachment in the winrar archive, extract the disk in the machine after the change C: \ autoexec.bat
Add the following elements in the autoexc.bat
SET PATH = E: \ USER \ ZDX \ MASM614 \ BIN E: \ USER \ ZDX \ MASM614 \ BINR PATH
SET LIB = E: \ USER \ ZDX \ MASM614 \ LIB LIB
SET INCLUDE = E: \ USER \ ZDX \ MASM614 \ INCLUDE INCLUDE
SET INIT = E: \ USER \ ZDX \ MASM614 \ INIT INIT
SET HELPFILES = E: \ USER \ ZDX \ MASM614 \ HELP \*. HLP HELPFILES
SET ASMEX = E: \ USER \ ZDX \ MASM614 \ SAMPLES ASMEX
SET TMP = C: \ TEMP
Note that the path which should be with you the same path after decompression
Reboot
Editor, with any kind of files (source code) editing software can be, for example ultraedit
Compilation, in the dos windows with the masm file name [. Asm] connection, in the dos windows with mlink (link.exe) filename [. Obj]
Run, in the dos window, the file name [. Exe]
When the assembler has a string output/Pops, i Platform: |
Size: 6572032 |
Author:zhangsan |
Hits:
Description: 1、下载个masm5.0(简单,适合初学者),里面至少应包含masm.exe和link.exe,可能还包含其他的,不过我们只需要最基本的这两个。
2、将masm5.0压缩包里的程序解压(包含masm.exe和link.exe),放到一个目录中(如D:\masm),然后就在这个目录下建立个文本文件(如XX.txt)写入个汇编程序,保存,将后缀名改为XX.asm。
3、进入命令提示行(开始--运行--输入cmd)
4、进入程序所在文件夹(用dos的cd命令),以2中的为例,键入“d:”,回车,键入“cd masm”,回车,键入“masm XX”,回车3下,键入“link XX”,再回车3下,再键入“XX”,就运行完了。
-1, download a masm5.0 (simple, is suitable for beginners), including at least should contain masm. Exe and link. J, may also contain other.exe, but we only need is the most basic of these two.
2, put masm5.0 compression bag program decompression (masm exe and link containing j j exe), in a directory (such as D: \ masm) and then in this directory establish a text files (such as XX. TXT) write an assembler, save, will suffix name changed to XX. By asm.
3, enter commands the presenting bank (began to run- input CMD)--
4, entry procedures in folders (with CD DOS command), for example, with 2 of typing "d:", enter type "CD masm", enter type "masm XX", enter 3, XX typing Platform: |
Size: 536576 |
Author:叶丹丹 |
Hits: