A ASSEMBLER ERROR MESSAGES

1 Introduction

The assembler produces error messages on standard error output. If the list option of the assembler is effective, error messages will be included in the list file as well, when the assembler has started list file generation. Error messages have the following layout:

Example:

The example reports the error, starting with the severity (E: error, F: fatal error, W: warning) and the error number followed by the source filename and the line number. The last part of the line shows the error message text.

All warnings (W), errors (E), and fatal errors (F) of astri are described below.

2 Warnings (W)

The assembler may generate the following warnings:

W 101: use option at the start of the source; ignored

W 102: duplicate attribute "attribute" found

W 103: section offset can cause overlap of code or data

W 104: expected an attribute but got attribute; ignored

W 105: section activation expected, use name directive

W 106: conflicting attributes specified "attributes"

W 107: memory conflict on object "name"

W 108: object attributes redefinition "attributes"

W 109: label "label" not used

W 110: extern label "label" defined in module, made global

W 111: unknown name control flag "flag"

W 112: text found after END; ignored

W 115: use ON or OFF after control name

W 116: unkown parameter "parameter" for control-name control

W 118: inserted "extern name"

W 119: "name" section has not the MAX attribute; ignoring RESET

W 120: assembler debug information: cannot emit non-tiof expression for label

W 121: changed alignment size to size

W 122: fractional has been saturated because it is outside the fractional domain

W 123: expression: type-error

W 124: cannot purge macro during its own definition

W 125: "symbol" is not a defined symbol

W 126: redefinition of "define-symbol"

W 127: redefinition of macro "macro"

W 128: number of macro arguments is less than definition

W 129: number of macro arguments is greater than definition

W 130: DUPA needs at least one value argument

W 131: DUPF increment value gives empty macro

W 132: .IF started in previous file "file", line line

W 133: currently no macro expansion active

W 134: "directive" is not supported, skipped

W 135: define symbol of "define-symbol" is not an identifier; skipped definition

W 137: label "label" defined attribute and attribute

W 138: warning: .WARNING-directive-arguments

W 139: expression must be between hex-value and hex-value

W 140: expression must be between value and value

W 141: gobal/local label "name" not defined in this module; made extern

W 142: redefinition of `name' macro

W 170: duplicate controle used: control_name

W 171: suspicious instruction concerning CPU functional defect TC112_COR1

W 172: suspicious instruction concerning CPU functional defect TC112_COR4

W 173: suspicious instruction concerning CPU functional defect TC112_COR10

W 174: suspicious instruction concerning CPU functional defect TC112_COR13

W 175: suspicious instruction concerning CPU functional defect TC112_COR17

W 176: suspicious instruction concerning CPU functional defect TC113_CPU9

W 177: suspicious instruction concerning CPU functional defect TC113_CPU11

W 178: suspicious instruction concerning CPU functional defect TC113_CPU14

W 179: suspicious instruction concerning CPU functional defect TC113_CPU15

W 180: suspicious instruction concerning CPU functional defect TC113_CPU16

W 181: suspicious instruction concerning CPU functional defect TC113_DMU1

W 182: suspicious instruction concerning CPU functional defect TC113_LF12

W 183: suspicious instruction concerning CPU functional defect TC113_LF13

W 184: error in $PAGELENGTH control: message

W 185: error in $PAGEWIDTH control: message

3 Errors (E)

The assembler generates the following error messages when a user error situation occurs. These errors do not terminate assembly immediate. If one or more of these errors occur, assembly stops at the end of the active pass.

E 200: message; halting assembly

E 201: unexpected newline or line delimiter

E 202: unexpected character: 'character'

E 203: illegal escape character in string constant

E 204: I/O error: open intermediate file failed ( file )

E 205: syntax error: expected token instead of token

E 206: syntax error: token unexpected

E 207: syntax error: missing ':'

E 208: syntax error: missing ')'

E 209: invalid radix value, should be 2, 8, 10 or 16

E 210: syntax error

E 211: unknown model

E 212: syntax error: expected token

E 213: label "label" defined attribute and attribute

E 214: illegal addressing mode

E 215: not enough operands

E 216: too many operands

E 217: description

E 218: unknown mnemonic: "name"

E 220: not within CODE section; instruction is removed

E 223: unknown section "name"

E 224: unknown label "name"

E 225: invalid memory type

E 226: unknown symbol attribute: sect_type

E 227: invalid memory attribute

E 228: name attribute needs a number

E 229: only one of the name attributes may be specified

E 230: invalid section attribute: name

E 231: absolute section, expected "AT" expression

E 232: MAX/OVERLAY sections need to be named sections

E 233: type section cannot have attribute attribute

E 234: section attributes do not match earlier declaration

E 235: redefinition of section

E 236: cannot evaluate expression of descriptor

E 237: descriptor directive must have positive value

E 238: Floating point numbers not allowed with .BYTE directive

E 239: byte constant out of range

E 240: word constant out of range

E 241: Cannot emit non tiof functions, replaced with integral value '0'

E 242: the name attribute must be specified

E 243: use $OBJECT OFF or $OBJECT "object-file"

E 244: unknown control "name"

E 245: error in expression: expression

E 246: .ENDM within .IF/.ENDIF

E 247: illegal condition code

E 248: cannot evaluate origin expression of org "name: address"

E 249: incorrect argument types for function "function"

E 250: tiof function not yet implemented: "function"

E 251: @POS(,,start) start argument past end of string

E 252: second definition of label "label"

E 253: recursive definition of symbol "symbol"

E 254: missing closing '>' in include directive

E 255: could not open include file include-file

E 256: integral divide by zero

E 257: unterminated string

E 258: unexpected characters after macro parameters, possible illegal white space

E 259: .COMMENT directive not permitted within a macro definition and conditional assembly

E 260: definition of "macro" unterminated, missing "endm"

E 261: macro argument name may not start with an '_'

E 262: cannot find "symbol"

E 263: cannot evaluate: "symbol", value is unknown at this point

E 264: cannot evaluate: "symbol", value depends on an unknown symbol

E 265: cannot evaluate argument of dup (unknown or location dependant symbols)

E 266: dup argument must be integral

E 267: dup needs a parameter

E 268: ENDM without a corresponding .MACRO or D.UP definition

E 269: .ELSE without a corresponding .IF

E 270: .ENDIF without a corresponding .IF

E 271: missing corresponding .ENDIF

E 272: label not permitted with this directive

E 273: wrong number of arguments for function

E 274: illegal argument for function

E 275: expression not properly aligned

E 276: immediate value must be between value and value

E 277: address must be between $address and $address

E 278: operand must be an address

E 279: address must be short

E 280: address must be short

E 281: illegal option "option"

E 282: "Symbols:" part not found in map file "name"

E 283: "Sections:" part not found in map file "name"

E 284: module "name" not found in map file "name"

E 285: file-kind file will overwrite file-kind file

E 286: $CASE options must be given before any symbol definition

E 287: symbolic debug error: message

E 288: error in PAGE directive: message

E 290: fail: message

E 291: generated check: message

E 293: expression out of range

E 294: expression must be between hexvalue and hexvalue

E 295: expression must be between value and value

E 296: optimizer error: message

E 297: jump address must be a code address

E 298: size depends on location, cannot evaluate

E 299: absolute expression expected for section offset

E 301: #error: line

E 302: illegal C preprocessor `#define'-name

E 303: error in parameter list of `#define' symbol definition

E 304: missing `#define'-name for `defined(...)' function

E 305: `name' is an unknown or non-constant symbol

E 306: duplicate macro parameter `name'

E 307: wrong number of arguments for `name'

E 308: message

E 350: SFR include file regcpu.def not found

E 351: error in control: message

4 Fatal Errors (F)

The following errors cause the assembler to terminate immediately. Fatal errors are usually due to user errors.

F 401: memory allocation error

F 402: duplicate input filename "file" and "file"

F 403: error opening file-kind file : "file-name"

F 404: protection error : message

F 405: I/O error

F 406: parser stack overflow

F 407: symbolic debug output error

F 408: illegal operator precedence

F 409: Assembler internal error

F 410: Assembler internal error: duplicate mufom "symbol" during rename

F 411: symbolic debug error: "message"

F 412: macro calls nested too deep (possible endless recursive call)

F 413: cannot evaluate "function"

F 414: cannot recover from previous errors, stopped

F 415: error opening temporary file

F 416: internal error in optimizer


Copyright © 2002 Altium BV