fcml  1.1.3
Enumerations
Error codes for textual messages

Describes all available error codes dedicated to textual errors. More...

Enumerations

enum  fcml_en_ceh_message_errors {
  FCML_CEH_MEC_ERROR_ILLEGAL_SEG_REG_OVERRIDE = 1000,
  FCML_CEH_MEC_ERROR_TO_MANY_OPERANDS = 1001,
  FCML_CEH_MEC_ERROR_INVALID_PSEUDO_OPCODE_VALUE = 1002,
  FCML_CEH_MEC_ERROR_HLE_PREFIX_NOT_ALLOWED = 1003,
  FCML_CEH_MEC_ERROR_HLE_MORE_THAN_ONE_PREFIX = 1004,
  FCML_CEH_MEC_ERROR_DIVISION_BY_0 = 1005,
  FCML_CEH_MEC_ERROR_WRONG_VALUE_FORMAT = 1006,
  FCML_CEH_MEC_ERROR_VALUE_OUT_OF_RANGE = 1007,
  FCML_CEH_MEC_ERROR_INVALID_SYNTAX = 1008,
  FCML_CEH_MEC_ERROR_INVALID_REGISTER_TYPE_SEG = 1009,
  FCML_CEH_MEC_ERROR_SYMBOL_ALREADY_DEFINED = 1010,
  FCML_CEH_MEC_ERROR_UNDEFINED_SYMBOL = 1011,
  FCML_CEH_MEC_ERROR_PARSED_LINE_TOO_LONG = 1012
}
 Error codes dedicated to textual messages. More...
 
enum  fcml_en_ceh_message_warnings {
  FCML_CEH_MEW_WARN_VALUE_OUT_OF_RANGE = 2000,
  FCML_CEH_MEW_WARN_INVALID_ADDRESSING_MODE = 2001
}
 Codes for textual warnings. More...
 

Detailed Description

Describes all available error codes dedicated to textual errors.

Enumeration Type Documentation

Error codes dedicated to textual messages.

In some cases they are a bit more detailed than corresponding global error codes returned in case of errors. Remember that global error codes also can be used in place of error codes for textual messages. It is why they use different code ranges.

Enumerator
FCML_CEH_MEC_ERROR_ILLEGAL_SEG_REG_OVERRIDE 

Segment register can not be overridden.

FCML_CEH_MEC_ERROR_TO_MANY_OPERANDS 

To many operands passed to parser.

FCML_CEH_MEC_ERROR_INVALID_PSEUDO_OPCODE_VALUE 

Unsupported pseudo-op value.

FCML_CEH_MEC_ERROR_HLE_PREFIX_NOT_ALLOWED 

HLE prefix is not allowed in given context.

FCML_CEH_MEC_ERROR_HLE_MORE_THAN_ONE_PREFIX 

There is more than one HLE prefix.

FCML_CEH_MEC_ERROR_DIVISION_BY_0 

Expression attempts to divide by 0.

FCML_CEH_MEC_ERROR_WRONG_VALUE_FORMAT 

Wrong value type used in given context.

For example float used in place of integer.

FCML_CEH_MEC_ERROR_VALUE_OUT_OF_RANGE 

Value out of range, for example 32 bit value used as segment selector.

FCML_CEH_MEC_ERROR_INVALID_SYNTAX 

Syntax error from parser.

FCML_CEH_MEC_ERROR_INVALID_REGISTER_TYPE_SEG 

Wrong register type used in place of segment register.

FCML_CEH_MEC_ERROR_SYMBOL_ALREADY_DEFINED 

Symbol is already defined in parser's symbol table.

FCML_CEH_MEC_ERROR_UNDEFINED_SYMBOL 

Symbol is undefined.

FCML_CEH_MEC_ERROR_PARSED_LINE_TOO_LONG 

Parsed line exceed maximal allowed length.

Codes for textual warnings.

Enumerator
FCML_CEH_MEW_WARN_VALUE_OUT_OF_RANGE 

Value out of range.

FCML_CEH_MEW_WARN_INVALID_ADDRESSING_MODE 

Invalid addressing mode.