Download Renesas TM V.3.20A Specifications
Transcript
Renesas Technology, Tools FAQs Last Updated: July 22, 2003 Document Number: 03072224_e Q. Why errors are generated with structured language commands which use operators *, /, or % ? A. To use operators *, /, or % in structured language commands of SRA74, it is necessary to call up the subroutines written in the sra74.a74 library source file provided with SRA74. Here following, it is explained how to program with operators *, /, or %. The name of the program using the structured language commands is struct.a74. Note! If the stack area is set to one page, see "How to use multiplication/division subroutines for one page stacks". 1. Call up the subroutine. Write the following lines into the source file where the multiplication and division operations of the structured language commands are written. -------------------.EXT .mult_8 .EXT .div_8 .EXT .mod_8 -------------------Label name Function .mult_8 Subroutine that performs multiplication (*). .div_8 Subroutine that performs division (/). .mod_8 Subroutine that performs modulo operations (%). 2. Assemble sra74.a74. Assemble sra74.a74 and generate a relocatable file. >sra74 sra74 3. Assemble the source program. Assemble the struct.a74 source program and generate a relocatable file. >sra74 struct 4. Link the relocatable file of the source program and sra74.a74. Link struct.a74 and sra74.a74, and generate a machine language file (struct.hex file). >link74 struct sra74,,,-Fstruct Top of Page | Back to Previous Page Terms of Use Privacy Policy (C)2004 Renesas Technology Corp., All Rights Reserved.
Related documents
Renesas Emulation Pod M306H2T-RPD-E Technical information
Renesas Emulation Pod M306H2T-RPD-E Technical information
Renesas Emulation Pod M3062PT3-RPD-E User`s manual
M3T-PD308SIM V.3.20/M3T-PD30SIM V.5.20 User`s Manual
Receiving Unit User`s Manual for M34559 Evaluation Board
M306N0T2-RPD-E User's Manual
M3T-PD79SIM V.3.20 User`s Manual
M30620T(B)-RPD-E User's Manual