<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ABI on Answer</title>
    <link>https://answer.freetools.me/tags/abi/</link>
    <description>Recent content in ABI on Answer</description>
    <generator>Hugo -- 0.152.2</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sat, 07 Mar 2026 12:16:10 +0800</lastBuildDate>
    <atom:link href="https://answer.freetools.me/tags/abi/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>函数调用约定为何如此分裂：从十六位到六十四位的四十年ABI博弈</title>
      <link>https://answer.freetools.me/%E5%87%BD%E6%95%B0%E8%B0%83%E7%94%A8%E7%BA%A6%E5%AE%9A%E4%B8%BA%E4%BD%95%E5%A6%82%E6%AD%A4%E5%88%86%E8%A3%82%E4%BB%8E%E5%8D%81%E5%85%AD%E4%BD%8D%E5%88%B0%E5%85%AD%E5%8D%81%E5%9B%9B%E4%BD%8D%E7%9A%84%E5%9B%9B%E5%8D%81%E5%B9%B4abi%E5%8D%9A%E5%BC%88/</link>
      <pubDate>Sat, 07 Mar 2026 12:16:10 +0800</pubDate>
      <guid>https://answer.freetools.me/%E5%87%BD%E6%95%B0%E8%B0%83%E7%94%A8%E7%BA%A6%E5%AE%9A%E4%B8%BA%E4%BD%95%E5%A6%82%E6%AD%A4%E5%88%86%E8%A3%82%E4%BB%8E%E5%8D%81%E5%85%AD%E4%BD%8D%E5%88%B0%E5%85%AD%E5%8D%81%E5%9B%9B%E4%BD%8D%E7%9A%84%E5%9B%9B%E5%8D%81%E5%B9%B4abi%E5%8D%9A%E5%BC%88/</guid>
      <description>深入剖析函数调用约定的四十年演进历程：从16位时代BP寄存器的先天约束，到32位cdecl/stdcall/fastcall的混战，再到64位System V与Windows x64的分道扬镳。详细解析参数传递策略、栈帧布局、寄存器保存策略的设计权衡，揭示为什么Windows选择4个寄存器传参而Unix选择6个，为什么变长参数函数在x86-64上实现如此复杂，以及caller-saved与callee-saved的经济学原理。涵盖ARM64 AAPCS、RISC-V调用约定的横向对比，以及shadow space、red zone、sret等底层机制的完整技术解析。</description>
    </item>
  </channel>
</rss>
