[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1.1 Options | ||
1.2 Syntax | ||
1.3 Floating Point | ||
1.4 AMD 29K Machine Directives | ||
1.5 Opcodes |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
{No value for `AS'}
has no additional command-line options for the AMD
29K family.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1.2.1 Macros | ||
1.2.2 Special Characters | ||
1.2.3 Register Names |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The macro syntax used on the AMD 29K is like that described in the AMD
29K Family Macro Assembler Specification. Normal {No value for `AS'}
macros should still work.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
‘;’ is the line comment character.
The character ‘?’ is permitted in identifiers (but may not begin an identifier).
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
General-purpose registers are represented by predefined symbols of the
form ‘GRnnn’ (for global registers) or ‘LRnnn’
(for local registers), where nnn represents a number between
0
and 127
, written with no leading zeros. The leading
letters may be in either upper or lower case; for example, ‘gr13’
and ‘LR7’ are both valid register names.
You may also refer to general-purpose registers by specifying the register number as the result of an expression (prefixed with ‘%%’ to flag the expression as a register number):
%%expression
—where expression must be an absolute expression evaluating to a
number between 0
and 255
. The range [0, 127] refers to
global registers, and the range [128, 255] to local registers.
In addition, {No value for `AS'}
understands the following protected
special-purpose register names for the AMD 29K family:
vab chd pc0 ops chc pc1 cps rbp pc2 cfg tmc mmu cha tmr lru
These unprotected special-purpose register names are also recognized:
ipc alu fpe ipa bp inte ipb fc fps q cr exop
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The AMD 29K family uses IEEE floating-point numbers.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
.block size , fill
This directive emits size bytes, each of value fill. Both size and fill are absolute expressions. If the comma and fill are omitted, fill is assumed to be zero.
In other versions of the GNU assembler, this directive is called ‘.space’.
.cputype
This directive is ignored; it is accepted for compatibility with other AMD 29K assemblers.
.file
This directive is ignored; it is accepted for compatibility with other AMD 29K assemblers.
Warning: in other versions of the GNU assembler,
.file
is used for the directive called.app-file
in the AMD 29K support.
.line
This directive is ignored; it is accepted for compatibility with other AMD 29K assemblers.
.sect
This directive is ignored; it is accepted for compatibility with other AMD 29K assemblers.
.use section name
Establishes the section and subsection for the following code;
section name may be one of .text
, .data
,
.data1
, or .lit
. With one of the first three section
name options, ‘.use’ is equivalent to the machine directive
section name; the remaining case, ‘.use .lit’, is the same as
‘.data 200’.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
{No value for `AS'}
implements all the standard AMD 29K opcodes. No
additional pseudo-instructions are needed on this family.
For information on the 29K machine instruction set, see Am29000 User’s Manual, Advanced Micro Devices, Inc.
[Top] | [Contents] | [Index] | [ ? ] |
This document was generated on January 15, 2023 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
Button | Name | Go to | From 1.2.3 go to |
---|---|---|---|
[ << ] | FastBack | Beginning of this chapter or previous chapter | 1 |
[ < ] | Back | Previous section in reading order | 1.2.2 |
[ Up ] | Up | Up section | 1.2 |
[ > ] | Forward | Next section in reading order | 1.2.4 |
[ >> ] | FastForward | Next chapter | 2 |
[Top] | Top | Cover (top) of document | |
[Contents] | Contents | Table of contents | |
[Index] | Index | Index | |
[ ? ] | About | About (help) |
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
This document was generated on January 15, 2023 using texi2html 5.0.