TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Small and useful assembly programs

22 点作者 l0stman超过 14 年前

2 条评论

mahmud超过 14 年前
Excellent historic materials. A more "modern", if less clever grab-bag of code is asmutils:<p><a href="http://asm.sourceforge.net/" rel="nofollow">http://asm.sourceforge.net/</a><p>If you want to see master-level x86 assembly code; google the stuff by Terje Mathisen. He was a freak programmer that won every asm optimization contest throughout the nineties. He worked on Doom and some other id titles. Lately he has been advising Intel on x86 architecture and optimization! (Yes, he trains Intel designers on how to best optimize for their own platform.)
Locke1689超过 14 年前
Please don't use this unless you are actually writing code for the 8086. For example: the NOP instruction in your assembler will result in the same opcode with less work. Why write the XCHG if you don't have to? Hell, at that point it's probably faster to write the 0x90 straight into the obj code.