B 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 asxa are described below.

2 Warnings (W)

The assembler may generate the following warnings:

W 101: use name 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 113: unknown $MODEL specifier; ignored

W 115: use ON or OFF after control name

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

W 117: expected ON/OFF or option-string after $OPTMIZE control

expected option-string after $OPTMIZE ON/OFF 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 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: WARN-directive-arguments

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

W 140: expression must be between low value and high value

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

W 142: redefinition of 'name' macro

W 143: message

W 154: message

W 155: redefinition of external label "name"

W 170: error in $PAGELENGTH control: message

W 171: error in $PAGEWIDTH control: message

W 172: duplicate control/option used: name

W 173: only levels 0 to 3 allowed

W 174: Save/restore stack full

W 175: Save/restore stack empty

W 176: 80C51 debug information ignored

W 177: 80C51 attribute "attribute" ignored

W 178: Use 16 bits stack access through R7

W 179: Rewrite CPL to XOR.b direct,#data

W 180: Check the bit address

W 181: malfunction when Compatibility mode is not used

W 182: 80C51 compatible instruction, better to use XA native instructions

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 at 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 219: this is not a hardware instruction (use $OPTIMIZE OFF "H")

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 DB 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

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 DUP 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 290: FAIL: message

E 291: generated check: message

E 292: no section activation found yet

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 segment offset

E 300: section 'name': message

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 319: message

E 332: redefinition of external label "name"

E 350: list file already defined

E 351: error file already defined

E 352: illegal combination of section attributes used

E 354: no section type defined

E 355: multiple section types used

E 356: invalid bit number used

E 357: address is not bit addressable

E 358: invalid control "name" used

E 359: duplicate control "name" used

E 362: error in control: message

E 363: primary control "name" not allowed here

E 364: SFR include file "regcpu.sfr" not found

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

F 451: invalid argument for control "name"

F 452: macro preprocessing has to be done using 'mppxa'


Copyright © 2000 TASKING, Inc.