⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmerge.doc

📁 C语言和汇编语言的混合编程实例
💻 DOC
字号:
    This program will merge the assembly lanquage output of turboc 
(and probably other compilers as well) with masm .lst and .asm files.

Usage cmerge cfile <-o> <-o=outputfilename> <-a> <-aasmfilename>

If -a and a filename is given the asm file will be used.
If the filename has a .asm extension then the output will have .asl ext.

If -a is not used an .lst file will be sought and the output will have 
a .lsl ext unless the -o option is used.

The -o option is for the output filename.

This program could certainly use some refining but it is a quick and dirty
way to see a mixed listing for evaluating compiled code.

In Turboc the command line version of the compiler must be used to obtain
assembly lanquage output. This is accomplished with the -S option.

Include in the .arc are 

              cmerge.doc	This file
              cmerge.c		The source for the merger
              cmerge.com	The executable compiled with Turboc in
              			tiny model and exe2bined.
              sieve.c		Sample program to merge
              sieve.asm		The assembly language output from Turboc
	      sieve.lst		The listing output from Turboc
	      sieve.asl		The mixed listing from .asm and .c
              sieve.lsl		The mixed listing from .lst and .c


                                 
NOTE:
  The original program was found deep in the dregs of a unix system.
It contained no copywrite so I figured it was fair game. I only modified
it to compile under MS-DOS and added date time and changed output to be
a bit more readable.

				Steve Allison
				10200 W. York 
				Wichita, Ks
				            67215

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -