This manual describes the assembly language syntax and CodeWarrior IDE settings for the processor-specific assemblers provided by CodeWarrior.
This chapter includes the following topics:
By now, you may have read the CodeWarrior release notes. If not, please do so now. The release notes contain important last-minute information about new features, bug fixes, and incompatibilities. The release notes reside on your CodeWarrior CD, in the following directory:
{CodeWarrior directory}\Release_Notes
CodeWarrior provides several assemblers, depending on the processor for which you are developing code. This manual describes the syntax for assembly language statements, including macros and directives, used by the CodeWarrior assemblers.
NOTE This manual provides information for the processor-specific assemblers provided by CodeWarrior. For information on the inline assembler provided by the CodeWarrior C/C++ compiler, see the Targeting manual for your target processor and C Compilers Reference.
The basic syntax of assembly language statements is identical among the processor-specific assemblers (which this manual describes). However, the instruction mnemonics and register names for each processor differ.
This manual assumes you are familiar with assembly language and the processor for which you are developing code.
Unless otherwise stated, all the information in this manual applies to all the assemblers.
NOTE When this manual states that information applies to the assembler, the information refers to all the assemblers unless otherwise stated.
This manual contains several general chapters. The information in the general chapters applies to all the assemblers, unless otherwise stated. Table 1.1 describes each of the general chapters.
| Chapter Title |
Description |
|---|---|
In addition to the chapters listed in Table 1.1, this manual may include one or more processor-specific chapters that discuss differing features, settings, and examples for a particular processor. Check the Table of Contents to see if this manual contains a processor-specific chapter for your target processor.
The code examples in the general chapters of this manual (Table 1.1) are for x86 processors. Any processor-specific chapters included in this manual contain corresponding examples wherever the code differs for the processor discussed in that chapter. Each processor-specific example also is cross-referenced to the corresponding example in the general chapters.
This manual includes syntax statements that describe how to use assembly language statements. Table 1.2 describes how to interpret the syntax.
Understanding Syntax Examples:
| If the text looks like |
Then |
|---|---|
| literal | |
| metasymbol | |
| a | b | c | |
| [ a ] | |
| a ::= b | c |
Each assembler uses the standard assembly language mnemonics and register names defined by the manufacturer of the applicable processor. For information on related documentation, see the processor-specific chapters of this manual.