Résumé du contenu de la page N° 1
MICROCOMPUTER MN1030
MN1030 Series
Cross Assembler
User’s Manual
Pub.No.13110-120E
Résumé du contenu de la page N° 2
Résumé du contenu de la page N° 3
PanaXSeries is a trademark of Matsushita Electric Industrial Co., Ltd. Sun and Sun OS are registered trademarks of Sun Microsystems Inc. of the United States. MS-DOS is a registered trademark of Microsoft Corporation of the United States. VZ Editor is a registered trademark of Village Center, Inc. PC/AT is a registered trademark of the International Business Machines Corporation of the United States. UNIX is a registered trademark licensed by X/Open Co., Ltd. in the United States and/or other co
Résumé du contenu de la page N° 4
About This Manual This manual describes the functions and operation of the cross assembler for this series of microcomputers. • Manual Features • Chapters on installation, program development flow, and introductory operation are provided, so first-time users can quickly get an overview and easily master operation. • Optimization, a special feature of the cross assembler, is explained in its own chapter. • Explanations of how to operate the assembler and linker and how to write programs are made
Résumé du contenu de la page N° 5
• How to read Chapter 1 Installation Heading 1.3.4 Environment Settings Before using the Cross-Assembler, verify or change the following two files. CONFIG.SYS If FILES and BUFFERS specifications do not already exist in CONFIG.SYS, then you must add them. If they do already exist, then check their settings, and change them if necessary. Program example FILES=20 BUFFERS=20 NOTE: Be sure to make these settings. If the assembler is started without them, then Usage note the error mes
Résumé du contenu de la page N° 6
• Related Manuals The following related manuals are available. Please contact our sales representative for more details. • MN1030/MN103S Series Instruction Manual • MN1030 Series C Compiler User's Manual: Usage Guide • MN1030/MN103S/MN103E Series C Compiler User's Manual: Language Description • MN1030/MN103S/MN103E Series C Compiler User's Manual: Lib
Résumé du contenu de la page N° 7
0 Chapter 1 Getting Started 1 Chapter 2 Program Development Flow 2 Chapter 3 Introduction to Operation 3 Chapter 4 Optimization 4 Chapter 5 Using Assembler 5 Chapter 6 Using Linker 6 Chapter 7 Types of Source Statements 7 Chapter 8 Writing Source Statements 8 Chapter 9 Writing Machine Language Instruction 9 Statements and Directive Statements Chapter 10 Writing Assembler Control Statements 10 Chapter 11 Writing Macro Control Statements 11 Chapter 12 List of Machine Language Instructi
Résumé du contenu de la page N° 8
Table of Contents Chapter 1 Getting Started 1.1 Purpose of This Chapter............................................................................................................................. 2 1.2 Operating Environment.............................................................................................................................. 3 1.3 File Organization........................................................................................................................
Résumé du contenu de la page N° 9
6.2 Starting Linker ......................................................................................................................................... 85 6.3 Command Options ................................................................................................................................... 88 6.3.1 Output File Options ....................................................................................................................... 89 6.3.2 Error M
Résumé du contenu de la page N° 10
9.4.4 listoff, liston ................................................................................................................................. 159 9.4.5 notation......................................................................................................................................... 160 9.4.6 org ................................................................................................................................................ 162
Résumé du contenu de la page N° 11
12.3.1 Data Move Instructions.............................................................................................................. 232 12.3.2 Arithmetic Instructions .............................................................................................................. 237 12.3.3 Logical Instructions ................................................................................................................... 239 12.3.4 Bit Manipulation In
Résumé du contenu de la page N° 12
16.2.6 Error Correction Using Tag Jumps ............................................................................................ 306 Chapter 17 Appendix 17.1 Numeric Restrictions............................................................................................................................ 310 17.2 List of Command Options.................................................................................................................... 311 17.2.1 List of Ass
Résumé du contenu de la page N° 13
Chapter 1 Getting Started 1
Résumé du contenu de la page N° 14
Chapter 1 Getting Started 1.1 Purpose of This Chapter This chapter describes the operating environment for this system and the usage of the file conversion tool. 2 Purpose of This Chapter
Résumé du contenu de la page N° 15
Chapter 1 Getting Started 1.2 Operating Environment This system runs on the following workstations, personal computers and compatibles. Host machine Operating system Version of OS Sun/Sparc Solaris 2.6 or later PC/AT Windows 98/Me/2000/XP DOS/V Windows 98/Me/2000/XP For the PC/AT and compatibles, because of such differences as the ability to display Japanese, this Manual indicates a machine running the English-only operating system as a PC/AT and one running the Japanese operating system as
Résumé du contenu de la page N° 16
Chapter 1 Getting Started 1.3 File Organization The installation media for this system contain the following files. as103 (assembler) as103 is the assembler. For a description, see Chapter 5 "Using Assembler." ld103 (linker) ld103 is the linker. For a description, see Chapter 6 "Using Linker." slib103 (library manager) slib103 is the library manager, a utility for creating library files. For a description, see Chapter 15 "Using Library Manager." excv103 (file conversion utility) This utility
Résumé du contenu de la page N° 17
Chapter 1 Getting Started 1.4 Installation For the installation media, installation procedures, and notes on installation, see the Installation Manual. Installation 5
Résumé du contenu de la page N° 18
Chapter 1 Getting Started 1.5 Setup These procedures are for setting up this system when it has just been installed or for altering basic settings. Setting command path Unix uses the environment variable PATH when searching for executable files. Setting up this variable properly allows users to omit the directory name for commands and run them using their base names only. If this system has been installed in /usr/local/bin, for example, adding the directory /usr/local/bin to the PATH envir
Résumé du contenu de la page N° 19
Chapter 1 Getting Started NOTE: Note that the command line is preceded when specifying the option which can be set in an environmental setting file with the command line at starting the assembler and the linker. Refer to the Chapter 5 “Using Assembler” for the assembler and to the Chapter 6 “Using Linker” for the linker. The order of precedence is as follows. 1) Specify by Command 2) Specify in Environmental setting file Start-up file format The start-up files contain statements using th
Résumé du contenu de la page N° 20
Chapter 1 Getting Started The start-up file .as103rc supports the following keywords. Keyword Description This entry specifies the language and coding scheme for messages from the assembler. One of the parameters ENGLISH, EUC, SJIS, or JIS comes after the keyword “message” followed by a blank space. These parameters have the following meanings. message ENGLISH Outputs messages in English message EUC Outputs messages in Japanese using EUC encoding message message SJIS