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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

How Many X86-64 Instructions Are There Anyway?

5 点作者 kalgubtoi大约 9 年前

1 comment

alblue大约 9 年前
An interesting read but basically boils down to &quot;how many primitive opcodes are there&quot; rather than instructions on the whole. It also doesn&#x27;t take into account the use of prefixes: for example nop1 and nop2 are technically two instructions (0x90 and 0x66 0x90) but just counting opcodes isn&#x27;t going to see that.<p>However if you are interested in assembly this is a well written post and talks about the problem of overloaded opcodes (eg mov, add) and gives different ways of coming up with the answers, which are between 900 and 2500 depending on what you count ...