asm.c File Reference

#include <types.h>
#include "globals.h"
#include "structs.h"
#include "reveng_errors.h"
#include <zem_errors.h>
#include <stdio.h>
#include <string.h>
#include "reveng.h"
#include "objdump.h"
#include "asm.h"
#include "misc.h"

Functions

int32 ASM_CreateAsmFile (Settings *projectSettings)
 Creates a file containing only the asm instructions.
int32 ASM_ProcessInstruction (Register *registers, RegisterContext *context, uint8 *sz_Instruction, Mapping *ps_CurFunction, uint32 i_Addr, uint32 *i_Result, RE_ResultType *i_ResultType, uint8 b_CheckForMessages, Function_Params *parameters)
 Analyse an asm instruction and put the result in i_Result. If the result is not valid then i_ResultType is RESULT_TYPE_INVALID.
int32 ASM_GetValueOfParam (Register *registers, uint8 *sz_Param, uint32 *i_Param, RE_ResultType *i_ParamType)
 Gets the value of the parameter and checks if it is valid or not.
RE_Registers ASM_GetRegisterIndex (Register *registers, uint8 *sz_Register)
 Return the index of the register or REG_MAX if the param is not a register.

Generated on Tue Nov 29 20:13:16 2005 for REVENG by  doxygen 1.4.5