5.6. Assembler Syntax Errors

Version I.5, September 1978

This section lists all the general errors found in the ERRORS file, specific machine errors are found in the sections below dealing with machine specifics.
NumberDescription  1: Undefined label page275 2: Operand out of range 3: Must have procedure name 4: Number of parameters expected 5: Extra garbage on line 6: Input line over 80 characters 7: Not enough ifs 8: Must be declared in ASECT before use 9: Identifier previously declared 10: Improper format 11: EQU expected 12: Must EQU before use if not to a label 13: Macro identifier expected 14: Word addressed machine 15: Backward ORG not allowed 16: Identifier expected 17: Constant expected 18: Invalid structure 19: Extra special symbol 20: Branch too far 21: Variable not PC relative 22: Illegal macro parameter index 23: Not enough macro parameters 24: Operand not absolute 25: Illegal use of special symbols 26: Ill-formed expression 27: Not enough operands 28: Cannot handle this relative 29: Constant overflow 30: Illegal decimal constant 31: Illegal octal constant 32: Illegal binary constant 33: Invalid key word 34: Unexpected end of input - after macro 35: Include files must not be nested 36: Unexpected end of input 37: Bad place for an include file 38: Only labels & contents may occupy column one 39: Expected local label 40: Local label stack overflow 41: String constant must be on 1 line 42: String constant exceeds 80 chars 43: Illegal use of macro parameter 44: No local labels in ASECT page276 45: Expected key word 46: String expected 47: Bad block, parity error (CRC) 48: Bad unit number 49: Bad mode, illegal operation 50: Undefined hardware error 51: Lost unit, no longer on-line 52: Lost file, no longer in directory 53: Bad title, illegal file name 54: No roan, insufficient space 55: No unit, no such volume on-line 56: No file, no such file on volume 57: Duplicate file 58: Not closed, attempt to open an open file 59: Not open, attempt to access a closed file 60: Bad format, error in reading real or integer 61: Nested macro definitions not allowed 62: ‘:’ or ‘<>’ expected 63: May not EQU to undefined labels

Z80 Based machines

  For constants, Hex is the default type,
a ‘B’ defines binary ex. 10010B
a ‘.’ defines decimal ex. 5674.

Location Counter (LC) = $

All reserved words may not be used for any other purpose such as an identifier. For example, the reserved word “C” currently is being used as a register and in a condition code, therefore it may not be used for any other purpose (this is contrary to usual Zilog assembly language, but is restricted in the UCSD assembler). Specific error messages: NumberDescription  76: Incorrect operand format 77: Close parentheses “)” expected 78: Comma “,” expected 79: Plus “+” expected 80: Open parentheses “(” expected 81: Stack pointer “SF” expected 82: “HI..” expected 83: Illegal “CC” condition code 84: Register “C” expected 85: Register “R” expected 86: Register “A” expected

PDP11 Based machines:

page277 For constants, Octal is the default type for both input and output,
a ‘H’ defines hexadecimal ex. 056H
a ‘.’ defines decimal ex. 546.
a ‘B’ defines binary ex. 1001B

Location Counter (LC) = * Specific error messages: NumberDescription  76: Closing parentheses ‘)’ expected 77: Register expected 78: Too many special symbols 79: Unrecognizable operand 80: Register reference only 81: First operand must be a register 82: Comma expected 83: Unimplemented instruction 84: Must branch backwards to label
page278


This page last regenerated Sun Jul 25 01:09:12 2010.