LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
validate.c File Reference
#include <stdio.h>
#include "lmstypes.h"
#include "bytecodes.h"
#include "bytecodes.c"
#include "validate.h"
#include <stdlib.h>
#include <unistd.h>

Go to the source code of this file.

Functions

void ShowOpcode (UBYTE OpCode, char *Buf, int Lng)
 
RESULT cValidateInit (void)
 
RESULT cValidateExit (void)
 
void cValidateSetErrorIndex (IMINDEX Index)
 
IMINDEX cValidateGetErrorIndex (void)
 
RESULT cValidateDisassemble (IP pI, IMINDEX *pIndex, LABEL *pLabel)
 
RESULT cValidateDisassembleProgram (PRGID PrgId, IP pI, LABEL *pLabel)
 
RESULT cValidateCheckAlignment (ULONG Value, DATA8 Type)
 
RESULT cValidateBytecode (IP pI, IMINDEX *pIndex, LABEL *pLabel)
 
RESULT cValidateProgram (PRGID PrgId, IP pI, LABEL *pLabel, DATA8 Disassemble)
 

Variables

VALIDATE_GLOBALS ValidateInstance
 

Function Documentation

RESULT cValidateBytecode ( IP  pI,
IMINDEX pIndex,
LABEL pLabel 
)

Definition at line 1155 of file validate.c.

RESULT cValidateCheckAlignment ( ULONG  Value,
DATA8  Type 
)

Definition at line 1110 of file validate.c.

RESULT cValidateDisassemble ( IP  pI,
IMINDEX pIndex,
LABEL pLabel 
)

Definition at line 251 of file validate.c.

RESULT cValidateDisassembleProgram ( PRGID  PrgId,
IP  pI,
LABEL pLabel 
)

Definition at line 916 of file validate.c.

RESULT cValidateExit ( void  )

Definition at line 222 of file validate.c.

IMINDEX cValidateGetErrorIndex ( void  )

Definition at line 245 of file validate.c.

RESULT cValidateInit ( void  )

Definition at line 164 of file validate.c.

RESULT cValidateProgram ( PRGID  PrgId,
IP  pI,
LABEL pLabel,
DATA8  Disassemble 
)

Definition at line 1649 of file validate.c.

void cValidateSetErrorIndex ( IMINDEX  Index)

Definition at line 232 of file validate.c.

void ShowOpcode ( UBYTE  OpCode,
char *  Buf,
int  Lng 
)

Definition at line 54 of file validate.c.

Variable Documentation

VALIDATE_GLOBALS ValidateInstance

Definition at line 35 of file validate.c.