fcml  1.1.3
Enumerations
Global error codes

Describes all available global error codes. More...

Enumerations

enum  fcml_en_ceh_error_globals {
  FCML_CEH_GEC_NO_ERROR = 0,
  FCML_CEH_GEC_OUT_OF_MEMORY = 1,
  FCML_CEH_GEC_INVALID_INPUT = 2,
  FCML_CEH_GEC_INTERNAL_ERROR = 3,
  FCML_CEH_GEC_NOT_INITIALIZED = 4,
  FCML_CEH_GEC_EOF = 5,
  FCML_CEH_GEC_VALUE_OUT_OF_RANGE = 6,
  FCML_CEH_GEC_FEATURE_NOT_SUPPORTED = 7,
  FCML_CEH_GEC_INVALID_OPERATING_MODE = 8,
  FCML_CEH_GEC_INVALID_ADDRESSING_FORM = 9,
  FCML_CEH_GEC_INVALID_INSTRUCTION_FORM = 10,
  FCML_CEH_GEC_INVALID_OPPERAND = 11,
  FCML_CEH_GEC_UNKNOWN_MNEMONIC = 12,
  FCML_CEH_GEC_INVALID_OPPERAND_SIZE = 13,
  FCML_CEH_GEC_INVALID_ADDRESS_SIZE = 14,
  FCML_CEH_GEC_UNKNOWN_INSTRUCTION = 15,
  FCML_CEH_GEC_INVALID_PREFIX = 16,
  FCML_CEH_GEC_INVALID_REGISTER_TYPE = 17,
  FCML_CEH_GEC_INVALID_REGISTER = 18,
  FCML_CEH_GEC_UNDEFINED_SYMBOL = 19,
  FCML_CEH_GEC_UNSUPPORTED_LABEL_DECLARATION = 20
}
 All global error codes are placed here. More...
 

Detailed Description

Describes all available global error codes.

Enumeration Type Documentation

All global error codes are placed here.

Enumerator
FCML_CEH_GEC_NO_ERROR 

Operation succeed.

FCML_CEH_GEC_OUT_OF_MEMORY 

There is not enough memory to complete operation.

FCML_CEH_GEC_INVALID_INPUT 

Invalid function arguments.

FCML_CEH_GEC_INTERNAL_ERROR 

An internal error occurred.

Enable tracing in order to get more detailed information.

FCML_CEH_GEC_NOT_INITIALIZED 

Component hasn't been initialized yet.

FCML_CEH_GEC_EOF 

Incomplete instruction.

FCML_CEH_GEC_VALUE_OUT_OF_RANGE 

Used mainly in case of integers and offsets.

FCML_CEH_GEC_FEATURE_NOT_SUPPORTED 

Chosen operation is not supported in case of given configuration.

FCML_CEH_GEC_INVALID_OPERATING_MODE 

Unsupported operating mode.

For instance encoded instruction needs 16 bit operating mode, but we are in 64 bit mode.

FCML_CEH_GEC_INVALID_ADDRESSING_FORM 

Chosen addressing form can not be encoded as for example ModR/M field.

FCML_CEH_GEC_INVALID_INSTRUCTION_FORM 

Unsupported instruction form (Instruction may be supported, but not with given set of operands).

FCML_CEH_GEC_INVALID_OPPERAND 

Instruction do not support one of the defined operands.

FCML_CEH_GEC_UNKNOWN_MNEMONIC 

Unknown mnemonic.

FCML_CEH_GEC_INVALID_OPPERAND_SIZE 

Operand size (Operand size attribute) is not allowed in given context.

FCML_CEH_GEC_INVALID_ADDRESS_SIZE 

Address size (Address size attribute) is not allowed in given context.

FCML_CEH_GEC_UNKNOWN_INSTRUCTION 

User chosen unsupported addressing form.

FCML_CEH_GEC_INVALID_PREFIX 

Assembler can return this error code if there is not allowed prefix defined for given instruction.

FCML_CEH_GEC_INVALID_REGISTER_TYPE 

Wrong register type.

FCML_CEH_GEC_INVALID_REGISTER 

Wrong register.

FCML_CEH_GEC_UNDEFINED_SYMBOL 

Error returned by parsers when there is undefined symbol used.

FCML_CEH_GEC_UNSUPPORTED_LABEL_DECLARATION 

Labels are not supported.