<!--
{
  "documentType" : "article",
  "framework" : "Xcode",
  "identifier" : "/documentation/Xcode/application-binary-interfaces",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Application binary interfaces"
}
-->

# Application binary interfaces

Write assembly instructions that adhere to the application binary interfaces of Apple platforms.

## Overview

The CPUs found in Apple products define rules for how to call functions, manage
the stack, and perform other operations. If your code includes assembly
instructions, you must adhere to these rules to operate correctly with
compiler-generated code. If you don’t adhere to them, your code might
crash or behave unexpectedly.

## Topics

### 64-bit interfaces

[Writing ARM64 code for Apple platforms](/documentation/Xcode/writing-arm64-code-for-apple-platforms)

Create 64-bit ARM assembly language instructions that adhere to the application binary
interface (ABI) that Apple platforms support.

[Writing 64-bit Intel code for Apple Platforms](/documentation/Xcode/writing-64-bit-intel-code-for-apple-platforms)

Create 64-bit Intel assembly language instructions that adhere to the application binary interface (ABI) that Apple platforms support.

### iOS interfaces

[Writing ARMv7 code for iOS](/documentation/Xcode/writing-armv7-code-for-ios)

Create ARMv7 assembly language instructions that adhere to the application binary
interface (ABI) that iOS supports.

[Writing ARMv6 code for iOS](/documentation/Xcode/writing-armv6-code-for-ios)

Create ARMv6 assembly language instructions that adhere to the application binary
interface (ABI) that iOS supports.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)