Skip to content

Reference

This section contains reference documentation for Accelerate. It is meant to be comprehensive and detailed, covering all the features and components, but may not be the best place to start for new users.

Warning

Accelerate is still in development and may change in breaking ways.

The concepts and design decisions of Accelerate are explained in the Explanations section.

To get started, please refer to the Tutorials section. For practical instructions, see the How-To Guides section.

Assembler Source File

A source file contains definitions that will be translated to a library or a binary program.

It consists of a list of elements and directives, separated by newlines. Instructions, labels, and assignments within an object or macro are also separated by newlines.

Expressions

Expressions are used in various places in a program.

Library

A library is a collection of objects, constants, macros, and functions.

When importing a library, only the objects actually used will be included in the resulting binary program. This gives you flexibility in how you organize your code: even using only a small portion of a large library does not sacrifice efficiency.

Target Definition

A target definition defines the memory layout and binary file format. It supports all the directives of assembler source files and a few additional directives.

CPU Definition

A CPU definition defines the syntax of the assembly instructions and how they are encoded.