Yasm 1.3.0 Release Notes
Yasm 1.3.0 Release Notes
http://yasm.tortall.net/releases/Release1.3.0.html
Target Audience
Welcome to the 1.3.0 release of the Yasm Modular Assembler. Its target audience includes people who want to:
- use a mature NASM-syntax x86 and AMD64 assembler that can target Win32, Win64, MacOS X, and Unix derivatives;
- use a GAS-syntax assembler other than GAS;
- have assembly source-level debugging using either DWARF2 or CodeView 8.0 (Visual Studio 2005 and later);
- have a free software assembler that supports Win32/Win64 structured exception handling (SEH) and ELF32/ELF64 thread local storage (TLS);
- target the latest AMD or Intel instruction sets;
- have a free assembler highly integrated into the Visual Studio 2010 IDE;
- keep track of Yasm’s progress in terms of stability and feature set;
- contribute to Yasm development from a new release.
Download Yasm 1.3.0
A number of download formats are available. For Windows and DOS users, we recommend downloading the prebuilt binaries. The source tarball contains all sources needed to build Yasm on UNIX-compatible systems, Windows, and DOS. If you use Visual Studio 2010 or later, we highly recommend downloading the appropriate vsyasm zip file and following its readme.txt directions for integration of yasm into the Visual Studio IDE.
- Source .tar.gz
- Win32 VS2010 .zip (for use with VS2010+ on 32-bit Windows)
- Win64 VS2010 .zip (for use with VS2010+ on 64-bit Windows)
- Win32 .exe (for general use on 32-bit Windows)
- Win64 .exe (for general use on 64-bit Windows)
- CygWin32 .exe (for CygWin use)
- DOS .exe (for use on pure DOS or for use with DJGPP)
A TASM-like frontend is also available. It defaults to the “tasm” parser and provides TASM-like command line options.
Features
Changes from 1.2.0 to 1.3.0:
- Add AMD TBM instructions.
- Add HSW TSX instructions.
- Fix “pmulhrw”, “vphaddudq”, and “vpbroadcastq” instructions.
- Add Intel SHA, ADX, RDSEED, and SMAP instructions.
- Use a larger hash table size in NASM macro handling.
- Add support for x32 ABI (called “elfx32”).
- Add support for “function” decorator in win32/win64 object files.
- In Mach-O, only warn on repeated flags if the new flags are different.
Features also include:
Object and debugging format support:
- Full support for ELF, including support for both AMD64 and 32-bit x86 static and shared objects and thread local storage.
- Support for Mach-O object format used in MacOS X, including both the 32-bit (x86) and 64-bit (AMD64) versions.
- Full support for COFF (DJGPP) and Win32 (PE32) and Win64 (PE32+) object formats.
- Support for structured exception handling on Win64 and Win32.
- Support for RDOFF2 (.rdf) object format.
- XDF object format (64-bit basic format, similar in spirit to NASM’s RDF).
Multi-section binary support (compatible but slightly more advanced than NASM’s).
- STABS, DWARF2, and CodeView 8 debugging formats (enable with “-g …”).
Assembler syntax support:
- Full NASM-compatible parser, including the “real” NASM preprocessor (imported from NASM tree).
- GAS parser and preprocessor.
- Basic support for TASM syntax, based on the NASM parser and preprocessor.
Architecture support:
- Support for AMD64 instruction set, registers, and addressing modes. This is enabled in one of three ways: using the
[BITS 64]directive, using a 64-bit object format such as win64 or elf64, or setting the machine to “amd64”. Only the last two will actually generate a 64-bit object file. - Full support for AMD64 RIP-relative addressing; the forms supported in NASM syntax are
[rip+val](direct index) and[sym wrt rip]or[rel sym](relocated relative).
Other features:
- Fast and efficient “virtual multi-pass” optimizer that automatically generates much smaller code for jumps and immediates.
- Full warnings for integer overflow.
- NASM-like list format.
- Most code licensed under 2-clause BSD license, although some portions are still LGPL-licensed (NASM preprocessor module).
- Support for the -I option to specify include directories, with a search pattern essentially identical to most C compilers.
- Support for CALL/JMP FAR, including proper handling of
location EQU seg:off;jmp far location. - Man pages: yasm(1), yasm_objfmts(7), yasm_dbgfmts(7), and yasm_arch(7).
Important Differences from NASM
- A number of command line options are different. Run “yasm –help” for a quick command line option summary, or read the full yasm(1) manpage for detailed descriptions of all command line options.
- Include files with relative paths are not searched in the same way. Yasm’s search behavior is essentially that of most C compilers.
Known Issues
As Yasm is still under development, there are some caveats and features that do not yet work or are not yet fully functional. See the Tickets area of Yasm’s website for a list of active issues.
Compiling Yasm from source
On UNIX-compatible operating systems, Yasm builds using the standard “./configure; make; make install” commands. GNU make is not required. While Yasm development requires a larger toolchain (see the HACKING file), building Yasm should not require more than just a C compiler.
For Windows systems, we recommend simply downloading the prebuilt executables. However, for those that want to build YASM directly using DJGPP, CygWin, or Visual Studio, Makefiles and all required specialized files are provided in the Mkfiles/ directory of the distribution tarball. CMake-compatible build files are also provided.
Running Yasm
Version Information:
yasm --version
Command Line Option Help:
yasm --help
Assemble test.asm to Win32 object file test.obj with CodeView 8.0 (VS2005) source debug info:
yasm -f win32 -g cv8 test.asm
Assemble test2.asm to Win64 object file test.obj with CodeView 8.0 source debug info:
yasm -f win64 -g cv8 test2.asm
Assemble test3.asm to AMD64 ELF object file test3.o with DWARF2 debugging information:
yasm -f elf64 -g dwarf2 test3.asm
Alternative to above:
yasm -f elf -m amd64 -g dwarf2 test3.asm
Assemble test4.s (GAS syntax file) to 32-bit x86 ELF object file testo.o with DWARF2 debugging information:
yasm -p gas -f elf32 -g dwarf2 -o testo.o test4.s
Yasm 1.3.0 Release Notes的更多相关文章
- ASP.NET Core 1.1.0 Release Notes
ASP.NET Core 1.1.0 Release Notes We are pleased to announce the release of ASP.NET Core 1.1.0! Antif ...
- Git for Windows v2.11.0 Release Notes
homepage faq contribute bugs questions Git for Windows v2.11.0 Release Notes Latest update: December ...
- WeihanLi.Npoi 1.11.0/1.12.0 Release Notes
WeihanLi.Npoi 1.11.0/1.12.0 Release Notes Intro 最近 NPOI 扩展新更新了两个版本,感谢 shaka chow 的帮忙和支持,这两个 Feature ...
- WeihanLi.Npoi 1.14.0 Release Notes
WeihanLi.Npoi 1.14.0 Release Notes Intro 周末更新了一下项目,开始使用可空引用类型,并且移除了 net45 的支持,仅支持 netstandard2.0 Cha ...
- WeihanLi.Npoi 1.16.0 Release Notes
WeihanLi.Npoi 1.16.0 Release Notes Intro 最近有网友咨询如何设置单元格样式,在之前的版本中是不支持的,之前主要考虑的是数据,对于导出的样式并没有支持,这个 is ...
- MongoDB 3.0 Release Notes
MongoDB 3.0支持WiredTiger存储引擎,提供可插拔存储引擎API,新增SCRAM-SHA-1认证机制,改进explain功能. 可插拔存储引擎API 允许第三方为MongoDB开发存储 ...
- Apache Hadoop 3.0.0 Release Notes
http://hadoop.apache.org/docs/r3.0.0/hadoop-project-dist/hadoop-common/release/3.0.0/RELEASENOTES.3. ...
- Redis 5.0.0 releases notes
Redis 5.0 release notes ======================= ---------------------------------------------------- ...
- MAGIC XPA最新版本Magic xpa 2.4c Release Notes
New Features, Feature Enhancements and Behavior ChangesSubforms – Behavior Change for Unsupported Ta ...
随机推荐
- UI变化之动画效果
很多时候我们在需要动态的改变某一个场景下的显示. 最常见的一个场景就是view的最大化. 我们直接设置view的frame可以实现最大化,但是这样的最大化是突变的没有动画效果. 苹果可以将这种突变“放 ...
- happens-before规则
happens-before原则: happens-before它是判断数据是否存在竞争.线程是否安全的主要依据.为了保证线程安全我们可以让2个操作具有happens-before关系.(JDK5 开 ...
- SPOJ - AMR11H
Array Diversity Time Limit: 404MS Memory Limit: 1572864KB 64bit IO Format: %lld & %llu Submi ...
- Ajaxterm + nginx 实现一个简单的堡垒机
https://blog.csdn.net/zhang19771105/article/details/50497581 http://wuliangxx.iteye.com/blog/600113
- 为当前用户创建cron服务
为当前用户创建cron服务 1. 键入 crontab -e 编辑crontab服务文件 例如 文件内容如下: */2 * * * * /bin/sh /home/admin/jiaoben/bu ...
- C# T4使用
最近升级我们的框架到微服务了,而且是dotnetcore 2.0. 然后一个新的框架,最基本的Model和与数据库交互的Repository,我们都是要利用T4自动生成的. 首先这个是代码结构,在这个 ...
- eclispe新导入的文件有个小红叉号(x)的问题
关于这个问题,我百度了很久,后面发现很简单的就解决了:我觉得可能大家的问题不一样,或许解决方法可能是一样的: 参考链接:https://zhidao.baidu.com/question/616762 ...
- 洛谷 P1824 进击的奶牛【二分答案/类似青蛙过河】
题目描述 Farmer John建造了一个有N(2<=N<=100,000)个隔间的牛棚,这些隔间分布在一条直线上,坐标是x1,...,xN (0<=xi<=1,000,000 ...
- HDU 2647 Reward【反向拓扑排序】
Reward Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submis ...
- Trie树&kmp&AC自动机&后缀数组&Manacher
Trie 计数+Trie,读清题意很重要 https://vjudge.net/problem/UVALive-5913 kmp AC自动机 模板:https://vjudge.net/problem ...