Appendix B. ERC32 Assembler Options and Directives

Table of Contents
B.1. ERC32 Options
B.2. Enforcing aligned data
B.3. Floating Point
B.4. ERC32 Machine Directives
B.5. Synthetic Instructions

B.1. ERC32 Options

The default options for the ERC32 assembler select for the standard SPARC Version 7. The assembler also supports the Temic ERC32 chip-set Revision CBA. This revision has a number of deficiencies in the floating-point unit, and the assembler offers the workarounds suggested by Temic. In some cases the workaround is simply not to use an instruction, in which case the assembler will flag any use with a warning. In other cases it is necessary to insert a NOP instruction between two floating-point instructions. The assembler will insert the NOP and optionally issue a warning to say what it has done.

Other target options allow the selection of later Temic revisions, such as Revision CCA and SPARC V7. The assembler treats CCA and V7 the same at present.

The target selection options are as follows:

-ACBA

This selects Temic chip-set revision CBA.

-ACCA

This selects Temic chip-set revision CCA.

-AV7

This is the default. It selects standard SPARC V7.

-w

Issue a warning when the code is changed as the result of a revision CBA workaround.