• Nem Talált Eredményt

ASSEMBLER ERRORS

In document Assembler Tools& Simulator Manual (Pldal 156-165)

C Error Messages

C.3 ASSEMBLER ERRORS

ADI_DSP environment variable not set up

ADI_DSP gives path to installed software; verify proper installation and check PATH statement.

Boot page out of range

Page number specified is invalid.

Divide by zero in expression Arithmetic error.

Do labels cannot be external

DO loop cannot reference an external label.

Do loop terminates do loop at symbol symbol

A DO instruction may not be the last instruction of a DO loop.

ASMPP could not activate \ASMPP.EXE. Execution terminated Standard preprocessor cannot run; verify proper software installation and check PATH statement.

*

*

C Error Messages

Dreg of data memory access must be one of: AX0, AX1, MX0, MX1 Incorrect data register used in instruction.

Dreg of program memory access must be one of: AY0, AY1, MY0, MY1 Incorrect data register used in instruction.

.ENDMACRO must be preceded by macro definition

Code preceding .ENDMACRO statement does not form a proper macro definition.

Expecting a condition at symbol symbol

Instruction condition code required in place of the named symbol.

Expecting a constant at symbol symbol

Numeric constant required in place of the named symbol.

Expecting a data format at symbol symbol

'UU', 'SU', 'US', or 'SS' required in place of the named symbol (in an instruction).

Expecting a filename at symbol symbol

An assembler or C preprocessor directive which requires a filename is given without one (e.g. #include, .INCLUDE, .INIT).

Expecting a macro argument at symbol symbol

Incorrect number or form of arguments/parameters given in a macro definition or invocation.

Expecting a place holder at symbol symbol

%n placeholders (arguments) must be used in a macro definition.

Expecting an identifier at symbol symbol

User-defined identifier required in place of the named symbol.

Expecting an index register at symbol symbol Index register required in place of the named symbol (in an instruction).

Expecting an integer at symbol symbol

Immediate integer operand required in place of the named symbol (in an instruction).

C Error Messages

Expecting AR as the destination of the alu operation AR required in instruction.

Expecting 'AV', 'AC', 'MV' or 'CE' at symbol symbol Instruction condition code required in place of the named symbol.

Expecting 'AX0', 'AX1', 'MX0', or 'MX1' for DM read 'AX0', 'AX1', 'MX0', or 'MX1' required in instruction.

Expecting 'AY0', 'AY1', 'MY0', or 'MY1' for PM read 'AY0', 'AY1', 'MY0', or 'MY1' required in instruction.

Expecting binary operator at symbol symbol

Logical (not bitwise) expression operator required in place of the named symbol.

Expecting 'C' at symbol symbol

'C' (carry bit) required in place of the named symbol (in an instruction).

Expecting 'DM' at symbol symbol

'DM' required in place of the named symbol (in an instruction);

immediate addresses must be in data memory.

Expecting 'ENA' or 'DIS' at symbol symbol

'ENA' or 'DIS' required in place of the named symbol (in an instruction).

Expecting .ENDMACRO at symbol symbol

A macro definition is not properly terminated with the .ENDMACRO directive.

Expecting 'EXP' at symbol symbol

'EXP' required in place of the named symbol (in an instruction).

Expecting 'EXPADJ' at symbol symbol

'EXPADJ' required in place of the named symbol (in an instruction).

Expecting 'HI', 'LO', or 'HIX' at symbol symbol 'HI', 'LO', or 'HIX' required in place of the named symbol (in an

C Error Messages

Expecting 'HI' or 'LO' at symbol symbol

'HI' or 'LO' required in place of the named symbol (in an instruction).

Expecting 'I0', 'I1', 'I2', or 'I3' for DM index register

'I0', 'I1', 'I2', or 'I3' required in instruction.

Expecting 'I0', 'I1', 'I2', or 'I3' at symbol symbol 'I0', 'I1', 'I2', or 'I3' required in place of the named symbol (in an instruction).

Expecting 'I4', 'I5', 'I6', or 'I7' at symbol symbol 'I4', 'I5', 'I6', or 'I7' required in place of the named symbol (in an instruction).

Expecting 'M0', 'M1', 'M2', or 'M3' at symbol symbol M0-M3 must be used if I0-I3 are used (in an instruction).

Expecting 'M4', 'M5', 'M6', or 'M7' at symbol symbol 'M4', 'M5', 'M6', or 'M7' required in place of the named symbol (in an instruction).

Expecting MODULE directive at symbol symbol

The .MODULE directive must be the first statement in any file which the assembler reads.

Expecting MODULE qualifier at symbol symbol MODULE qualifier required in place of the named symbol.

Expecting MR as the destination of the mac operation MR required in instruction.

Expecting 'MR' at symbol symbol

'MR' required in place of the named symbol (in an instruction).

Expecting 'OR' at symbol symbol

'OR' required in place of the named symbol (in an instruction).

Expecting 'PM' at symbol symbol

'PM' required in place of the named symbol (in an instruction).

C Error Messages

Expecting 'RND' at symbol symbol

'RND' required in place of the named symbol (in an instruction).

Expecting segment name at symbol

Segment name required in place of the named symbol (in an instruction).

Expecting shift operand at symbol symbol

Shift operand required in place of the named symbol (in an instruction).

Expecting 'STS' at symbol symbol

'STS' required in place of the named symbol (in an instruction).

Expecting VAR qualifier at symbol symbol VAR qualifier required in place of the named symbol.

Expecting '1' at symbol symbol

'1' required in place of the named symbol (in an instruction).

Expecting '0' at symbol symbol

'0' required in place of the named symbol (in an instruction).

Expecting '0' or '1' at symbol symbol

'0' or '1' required in place of the named symbol (in an instruction).

Expecting ']' at symbol symbol ']' required in place of the named symbol.

Expecting '-' at symbol symbol

'-' (subtract) required in place of the named symbol (in an instruction).

Expecting '*' at symbol symbol

'*' (multiply) required in place of the named symbol (in an instruction).

Expecting '(' at symbol symbol

'(' required in place of the named symbol (in an instruction).

C Error Messages

Expecting '=' at symbol symbol

'=' required in place of the named symbol (in an instruction).

Expecting ')' at symbol symbol

')' required in place of the named symbol (in an instruction).

Expecting ':' at symbol symbol

':' required in place of the named symbol (in an instruction).

Expecting ';' at symbol symbol

';' required in place of the named symbol (in an instruction).

Failed to open '#include' file filename

File to be included by C preprocessor was not found; 1) the path/filename given was incorrect, or 2) file does not exist.

FATAL: Unable to execute ' ASM2'

Core assembler cannot run; verify proper software installation and check PATH statement.

FATAL: unable to execute ' ASMPP'

Standard preprocessor cannot run; verify proper software installation and check PATH statement.

FATAL ERROR: Ran out of memory

Assembler cannot process current file in available memory.

Reduce file size or increase amount of memory available on PC.

FATAL ERROR: unable to open filename for reading Assembler cannot find the named input file; 1) the path/filename specified is incorrect, or 2) file does not exist.

FATAL ERROR: unable to open filename for writing Assembler cannot create the named file due to an operating system condition, such as a bad filename or full disk.

Illegal address operand symbol

Immediate operand required in place of the named symbol (in an instruction).

C Error Messages

Illegal data specified Data is invalid.

Illegal do until term at symbol symbol

DO UNTIL instruction has an illegal termination condition.

Illegal do until not term at symbol symbol

DO UNTIL NOT instruction has an illegal termination condition.

Illegal exponent symbol

Exponent is out of range (in an immediate shift instruction).

Illegal INIT value symbol Buffer initialization value is invalid.

Illegal length specified Buffer length is invalid.

Illegal length operator usage '%' (length of) operator incorrectly used.

Illegal lhs 'item'

Item named is invalid when located to the left of equal sign (in an instruction).

Illegal mode operand symbol

Mode operand required in place of the named symbol (in an instruction).

Illegal multi-function

Incorrect instruction syntax used (illegal operands included).

Illegal offset specified Buffer address offset is invalid.

Illegal operand symbol

Instruction operand required in place of the named symbol.

Illegal rhs 'item'

Item named is invalid when located to the right of equal sign (in

C Error Messages

Illegal stack operand symbol

Stack operand required in place of the named symbol (in an instruction).

Illegal yop symbol

Instruction yop required in place of the named symbol.

Illegal xop symbol

Instruction xop required in place of the named symbol.

INCLUDE must be preceded by '.'

Assembler directives must start with a period (C preprocessor include directive is #include).

.LOCAL valid only in macro definitions

.LOCAL statement detected within code which does not form a proper macro definition.

MACRO must be preceded by '.'

Assembler directives must start with a period.

Multiple do's to the same address symbol Illegal do loop.

Must use DAG0 for data memory access

Incorrect data address generator used in instruction.

Not enough arguments to macro

The number of parameters passed in a macro invocation must match the number of arguments declared.

Place holder out of range at symbol symbol

The %n placeholders (arguments) in a macro definition must be in consecutive numerical order: %1, %2, %3, etc.

Preprocessor failed to open \filename

Input filename was not found; 1) the path/filename given was incorrect, or 2) file does not exist.

Problem mallocing enough memory

C Error Messages

Result register contention

Two or more instructions executed in the same cycle use the same result register.

Too many arguments to macro

The number of parameters passed in a macro invocation must match the number of arguments declared.

Trying to redeclare symbol as a buffer Named symbol is declared twice.

Trying to redeclare symbol as an external Named symbol is declared twice.

Trying to redeclare symbol as a label Named symbol is declared twice.

Trying to redeclare symbol as a port Named symbol is declared twice.

Trying to redefine symbol

The named symbol has already been defined within the current module.

Unable to open filename for reading

Filename given with .INCLUDE directive was not found; 1) the path/filename given was incorrect, or 2) file does not exist.

Undefined do addr: address

Address specified in non-existent memory.

Undefined symbol: symbol

Named symbol is not declared properly.

Warning: Illegal base address for circular buffer Circular data buffers may only start at particular addresses in memory. Refer to the sections “More On Circular Buffers” and

“Special Case: Circular Buffer Lengths of 2n” in Chapter 3 of this manual.

C

Error Messages

In document Assembler Tools& Simulator Manual (Pldal 156-165)