General Notice When using this document, keep the following in mind: nti 1. This document is confidential. By accepting this document you acknowledge that you are bound al by the terms set forth in the non-disclosure and confidentiality agreement signed separately and /in the possession of SEGA. If you have not signed such a non-disclosure agreement, please contact SEGA immediately and return this document to SEGA. 2. This document may include technical inaccuracies or typographical errors. Changes are periodi- cally made to the information herein; these changes will be incorporated in new versions of the document. SEGA may make improvements and/or changes in the product(s) and/or the program(s) described in this document at any time. de 3. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document without SEGA’S written permission. Request for copies of this document and for technical information about SEGA products must be made to your authorized SEGA Technical Services representative. party. nfi 4. No license is granted by implication or otherwise under any patents, copyrights, trademarks, or other intellectual property rights of SEGA Enterprises, Ltd., SEGA of America, Inc., or any third 5. Software, circuitry, and other examples described herein are meant merely to indicate the character- describe herein. Co istics and performance of SEGA’s products. SEGA assumes no responsibility for any intellectual property claims or other problems that may result from applications based on the examples 6. It is possible that this document may contain reference to, or information about, SEGA products (development hardware/software) or services that are not provided in countries other than Japan. Such references/information must not be construed to mean that SEGA intends to provide such SEGA products or services in countries other than Japan. Any reference of a SEGA licensed prod- uct/program in this document is not intended to state or simply that you can use only SEGA’s GA licensed products/programs. Any functionally equivalent hardware/software can be used instead. 7. SEGA will not be held responsible for any damage to the user that may result from accidents or any other reasons during operation of the user’s equipment, or programs according to this document. NOTE: A reader's comment/correction form is provided with this document. Please address comments to : SE SEGA of America, Inc., Developer Technical Support (att. Evelyn Merritt) 150 Shoreline Drive, Redwood City, CA 94065 SEGA may use or distribute whatever information you supply in any way it believes appropriate without incurring any obligation to you. (11/2/94- 002) TM ntial de nfi Co GA The SATURN SCU DSP Assembler User's Manual Addendum SE Doc. # ST-240-A-SP1-052295 © 1994-95 SEGA. All Rights Reserved. READER CORRECTION/COMMENT SHEET Keep us updated! nti If you should come across any incorrect or outdated information while reading through the attached document, or come up with any questions or comments, please let us know so that we can make the al required changes in subsequent revisions. Simply fill out all information below and return this form to the Developer Technical Support Manager at the address below. Please make more copies of this form if more space is needed. Thank you. General Information: Your Name Phone Document number Document name Corrections: Chpt. pg. # ST-240-A-SP1-052295 de Date The SATURN SCU DSP Assembler User's Manual Addendum Correction nfi Co GA Questions/comments: SE Fax: Where to send your corrections: (415) 802-1717 Attn: Evelyn Merritt, Developer Technical Support Mail: SEGA OF AMERICA Attn: Evelyn Merritt, Developer Technical Support 150 Shoreline Dr. Redwood City, CA 94065 The SATURN SCU DSP Assembler User's Manual Addendum Introduction by Dennis Caswell 5/1/95 ntial The DSP assembler (dspasm.exe) assembles programs written for the DSP that is a part of the SAT- URN System Control Unit (SCU). It produces object files in S-record format, in Hitachi assembler source format, and in C source format. Invoking theAssembler The syntax for invoking the assembler is: dspasm [] [] de If the is omitted, the assembler will produce an object file with the same name as the source file and the extension “.s”. Command Line Options /a nfi Output the DSP program as an assembler source file having the extension “.d” in addition to the S-record object file, which is always produced. The file is in Hitachi format, and it /c /l Co consists of a series of .DATA.L statements. Output the DSP program as a C source file having the extension “.d” in addition to the S- record object file, which is always produced. The file contains a comma-separated list of 32- bit hexadecimal numbers which can be used in an array initializer. Output an assembled listing having the extension “.lst” in addition to the S-record object file, which is always produced. /m Enables midbox (Model M) compatibility mode. GA These options may be invoked with either a slash or a minus sign, and they may be used in combina- tion with one another. Source File Format Each line of a DSP assembler source file has the following format. SE [