Artifact 131873a0431440ace5a6488b4bc94606d9e1a4663652086f9842752569cfc65c:


/*
operands.h

Copyright (C) 2003-2006 Gil Dabah, http://ragestorm.net/distorm/
This library is licensed under the BSD license. See the file COPYING.
*/


#ifndef ___OPERANDS_H__
#define ___OPERANDS_H__

#include "decoder.h"
#include "prefix.h"
#include "wstring.h"
#include "instructions.h"

// return code from extract_operand.
typedef enum {EO_HALT, EO_CONTINUE, EO_SUFFIX} _ExOpRCType;

_ExOpRCType extract_operand(_CodeInfo* ci,
                           _WString* instructionHex, _WString* operandText, _OpType type, _OpType op2,
                           _OperandNumberType opNum, _iflags instFlags, unsigned char modrm,
                           _PrefixState* ps, _DecodeType dt, int* lockableInstruction);

#endif // ___OPERANDS_H__


REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]