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

📄 macros.txt

📁 一个微型操作系统源码
💻 TXT
字号:
Macros to emulate new microprocessor instructions.               Agner Fog 2000

These macros are used for emulating new microprocessor instructions in old
assemblers that don't support these instructions.

cmov.asi: conditional move and FCOMI instructions for Pentium 2 and later.
mmx.asi:  MMX instructions for Pentium MMX and later.
simd.asi: XMM instructions for Pentium 3.

Pentium 4 instructions are not supported by these macros.

These macros are useful if you are using a DOS based assembler, such as TASM 3.
They also work with MASM 5.10 and later.

If you can live with an assembler that works only under Windows, you may
download Microsoft macro assembler (MASM). If you do so, you don't need the
macros.

The latest version of MASM, that supports Pentium 4 instructions, can be 
downloaded from Microsofts website. It is intended as an add-in to Visual
C++, but it may be better to install it as a stand-alone command line
utility. Proceed as follows:

1. Go to http://msdn.microsoft.com/vstudio/downloads/ppack/download.asp

2. Click on "Download The Visual C++ 6.0 Processor Pack for the Visual 
   Studio 6.0 Service Pack 4 version Now" or go directly to:
   http://msdn.microsoft.com/vstudio/downloads/ppack/vcpp.exe

3. Run vcpp.exe. Read the licence conditions.

4. If you get the following message:
   "ERROR: This version of the Processor Pack will only install on Visual C++
   6.0 Service Pack 4", and you don't want to have the assembler integrated
   into Visual C++ 6.0, then don't worry.
   The vcpp.exe program has already unpacked the files you need to a temporary
   directory, probably C:\windows\temp\something\..
   Don't press the OK button now - that will delete the temporary files.

5. Find the temporary directory with the unpacked files and copy them to
   somewhere else. A few of the files can't be copied, but they are not needed.
   After copying the files, you can press the OK button and exit the vcpp.exe.

5. The files ML.EXE and ML.ERR comprise the assembler.
   MasmRef.doc contains instructions for the assembler.
   procpack.chm describes the MMX, XMM, and SSE2 instructions.
   

⌨️ 快捷键说明

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