Download TASKING VX-toolset for RH850 User Guide
Transcript
TASKING VX-toolset for RH850 User Guide You can call the assembler as follows: as850 -Imyinclude test.asm First the assembler looks for the file myinc.asm, in the directory where test.asm is located. If the file is not there the assembler searches in the directory myinclude. If it was still not found, the assembler searches in the environment variable AS850INC and then in the default include directory. 4.4. Assembler Optimizations The assembler can perform various optimizations that you can enable or disable. 1. From the Project menu, select Properties for The Properties dialog appears. 2. In the left pane, expand C/C++ Build and select Settings. In the right pane the Settings appear. 3. On the Tool Settings tab, select Assembler » Optimization. 4. Enable one or more optimizations. You can enable or disable the optimizations described below. The command line option for each optimization is given in brackets. Allow generic instructions (option -Og/-OG) When this option is enabled, you can use generic instructions in your assembly source. The assembler tries to replace instructions by faster or smaller instructions. By default this option is enabled. Because shorter instructions may influence the number of cycles, you may want to disable this option when you have written timed code. In that case the assembler encodes all instructions as they are. Optimize jump chains (option -Oj/-OJ) When this option is enabled, the assembler replaces chained jumps by a single jump instruction. For example, a jump from a to b immediately followed by a jump from b to c, is replaced by a jump from a to c. Note that this optimization has no effect on compiled C files, because jump chains are already optimized by the compiler. By default this option is disabled. Optimize instruction size (option -Os/-OS) When this option is enabled, the assembler tries to find the shortest possible operand encoding for instructions. By default this option is enabled. 130
Related documents
Getting Started Guide - v2.1 RH850 C Compiler
RH850 Coding - Renesas Electronics
TMS320C55x Assembly Language Tools User's Guide
LK SERIES PLC – HARDWARE MANUAL
CA850 Ver. 3.20 C Compiler Package Operation UM
CubeSuite+ V1.00.00 Integrated Development Environment User`s
CS+ V3.02.00 Integrated Development Environment User`s Manual
eFLASHLOAD - Renesas Electronics
Renesas RH850 Technical Notes V9.12.256
E1/E20 Emulator Additional Document for User`s Manual (Notes on