Chapter 1 Getting Started
6 Setup
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 environment variable permits the use of the command name only for the commands in this
system.
Under Unix, most users initialize environment variables via a start-up file named .cshrc and located in
the user's home directory. If this is the case, use an editor to modify the PATH variable setting in this
start-up file.
To put the changes into effect, either log out and then log in again or use the source command to
execute the contents of .cshrc.
Start-up files
The assembler and linker start by reading start-up files which contain statements for initializing start-
up variables.
The assembler start-up file (.as103rc) contains statements specifying the following three items.
1. The default language and character coding scheme for messages from the assembler
2. The radix notation used for numbers
3. The default toggle switch setting for optimization
The linker start-up file (.ld103rc) contains statements specifying the following eight items.
1. The language and character coding scheme for messages from the linker
2. A toggle controlling output of debugging information to the executable file
3. A toggle controlling output of the symbol table to the executable file
4. A toggle controlling output of DATA sections to the executable file
5. A toggle controlling output of a map file
6. A toggle controlling output of an executable file when there are errors
7. A library file
8. A directory searching for a library file
The assembler and linker search directories for these start-up files in the following order: the current
directory, the user's home directory, and the directory containing the executable. If they find such a file,
they use the contents to initialize their starting parameters. Otherwise, they set the parameters to their
default values. These default values are given in the section "Start-up file format."
Содержание PanaXSeries MN1030 Series
Страница 1: ...MICROCOMPUTER MN1030 MN1030 Series Cross Assembler User s Manual Pub No 13110 120E ...
Страница 2: ......
Страница 13: ...1 Chapter 1 Getting Started ...
Страница 25: ...2 Chapter 2 Program Development Flow ...
Страница 32: ...Chapter 2 Program Development Flow 20 Programming with Assembler ...
Страница 33: ...3 Chapter 3 Introduction to Operation ...
Страница 54: ...Chapter 3 Introduction to Operation 42 Conditional Assembly and Linking ...
Страница 55: ...4 Chapter 4 Optimization ...
Страница 71: ...5 Chapter 5 Using Assembler ...
Страница 95: ...6 Chapter 6 Using Linker ...
Страница 128: ...Chapter 6 Using Linker 116 Instruction RAM Support ...
Страница 129: ...7 Chapter 7 Types of Source Statements ...
Страница 138: ...Chapter 7 Type of Source Statements 126 Blank Statements ...
Страница 139: ...8 Chapter 8 Writing Source Statements ...
Страница 157: ...9 Chapter 9 Writing Machine Language Instruction Statements and Directive Statements ...
Страница 192: ...Chapter 9 Writing Machine Language Instructions and Directive Statements 180 Writing Directive Statements ...
Страница 193: ...10 Chapter 10 Writing Assembler Control Statements ...
Страница 217: ...11 Chapter 11 Writing Macro Control Statements ...
Страница 236: ...Chapter 11 Writing Macro Control Statements 224 irpc ...
Страница 237: ...12 Chapter 12 List of Machine Language Instructions ...
Страница 261: ...13 Chapter 13 Error Messages ...
Страница 276: ...Chapter 13 Error Messages 264 Linker Errors ...
Страница 277: ...14 Chapter 14 Readinig List Files ...
Страница 285: ...15 Chapter 15 Using Library Manager ...
Страница 309: ...16 Chapter 16 Notes on Operating Environment ...
Страница 321: ...17 Chapter 17 Appendix ...
Страница 338: ... 4 Index ...