129
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3. Assembler
This section describes in detail the Sierra Systems assemblers, asm68 and
asm68k. It includes a guide to their usage, a discussion of relevant programming
concepts, and a complete reference for assembler options and directives. They
were developed by Sierra Systems to support certain Motorola processors and
coprocessors and IEEE format floating-point numbers. Under license from Sierra
Systems, Texas Instruments has modified this software to support TI BCD
floating-point numbers, and support for coprocessors has been removed.
Although the software has not been modified to exclude support for processors
other than the 68000, the 68000 is the only processor supported by Texas
Instruments. The license from Texas Instruments to use these products is
restricted to development of software that is targeted to execute only on TI
calculators.
3.1. Introduction
The assembler asm68 was designed to assemble source files generated by the
Sierra C™ compiler, com68. The second assembler asm68k was designed to
assemble code written for the Motorola M68000 Resident Structured Assembler.
Its directive set has been extended to offer many of the features provided by
asm68, while remaining compatible with code written for the Motorola assembler.
Either assembler can be used to develop assembly language programs and
assemble source files generated by the Sierra C compiler. They both support the
entire Motorola 68000 instructions and modes. The main difference between the
two assemblers, other than syntax, is that asm68k provides macro support and
structured control facilities whereas asm68 does not.
The first five assembler sections and the instruction summary section at the end
apply to both of these assemblers. Those subsections and descriptions that
pertain to a specific assembler are clearly marked with the name of the
assembler to which the text is applicable. Sections 3.6 Asm68 Assembler
Directives, 3.7 Asm68k Assembler Directives, and 3.8 Asm68k Macros each
apply only to the named assembler.
3.1.1. Overview
The assembler section is targeted at the experienced 68000 assembly language
programmer and is not intended to serve as a 68000 reference source (see
section 3.1.2 Prerequisite Reading). This section includes the following
information:
•
Section 3.2 — a guide to using the assemblers.