< TOC 2 >
6.2 Starting Linker......................................................................................................................................... 85
6.3 Command Options................................................................................................................................... 88
6.3.1 Output File Options....................................................................................................................... 89
6.3.2 Error Message Options.................................................................................................................. 91
6.3.3 Program Generation Options......................................................................................................... 97
6.3.4 Library File Options..................................................................................................................... 103
6.3.5 Other Options............................................................................................................................... 105
6.4 Instruction RAM Support...................................................................................................................... 107
6.4.1 Structure of IRAM Support Executable File............................................................................... 108
6.4.2 IRAM Support Options................................................................................................................ 111
6.4.3 Operation Examples..................................................................................................................... 114
Chapter 7 Types of Source Statements
7.1 Purpose of This Chapter........................................................................................................................ 118
7.2 Program Format..................................................................................................................................... 119
7.3 Machine Language Instruction Statements and Directive Statements................................................... 121
7.4 Assembler Control Statements............................................................................................................... 122
7.5 Macro Control Statements..................................................................................................................... 123
7.6 Comment Statements............................................................................................................................. 124
7.7 Blank Statements................................................................................................................................... 125
Chapter 8 Writing Source Statements
8.1 Purpose of This Chapter........................................................................................................................ 128
8.2 Permitted Characters.............................................................................................................................. 129
8.3 Numbers................................................................................................................................................. 130
8.4 Character Constants............................................................................................................................... 133
8.5 Address Constants.................................................................................................................................. 135
8.6 Location Counter................................................................................................................................... 136
8.7 Expressions............................................................................................................................................ 137
8.7.1 Operators...................................................................................................................................... 138
8.7.2 Expression Evaluation................................................................................................................. 140
8.7.3 Expression Syntax........................................................................................................................ 141
8.7.4 Expression Attributes................................................................................................................... 142
8.8 Reserved Words..................................................................................................................................... 144
Chapter 9 Writing Machine Language Instruction Statements and Directive Statements
9.1 Purpose of This Chapter........................................................................................................................ 146
9.2 Instruction Statement Fields.................................................................................................................. 147
9.2.1 Writing Label Field..................................................................................................................... 148
9.2.2 Writing Operation Field............................................................................................................... 149
9.2.3 Writing Operand Field................................................................................................................. 150
9.2.4 Writing Comment Field............................................................................................................... 151
9.3 Writing Machine Language Instruction Statements.............................................................................. 152
9.4 Writing Directive Statements................................................................................................................. 153
9.4.1 section.......................................................................................................................................... 154
9.4.2 align............................................................................................................................................. 156
9.4.3 end................................................................................................................................................ 158