Skip to content

Documentation

Introduction

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.