ST20Decoder Class Reference

#include <frontend/st20decoder.h>

Inheritance diagram for ST20Decoder:

NJMCDecoder List of all members.

Detailed Description

Definition at line 27 of file st20decoder.h.

Public Member Functions

virtual int decodeAssemblyInstruction (ADDRESS pc, int delta)
virtual DecodeResultdecodeInstruction (ADDRESS pc, int delta)
 Decodes the machine instruction at pc and returns an RTL instance for the instruction.
 ST20Decoder ()

Private Member Functions

RTLcreateBranchRtl (ADDRESS pc, std::list< Statement * > *stmts, const char *name)
Byte getByte (ADDRESS lc)
DWord getDword (ADDRESS lc)
SWord getWord (ADDRESS lc)
bool isFuncPrologue (ADDRESS hostPC)
void unused (int x)

Constructor & Destructor Documentation

ST20Decoder::ST20Decoder  ) 

Definition at line 343 of file st20/decoder.m.

References file, Boomerang::get(), Boomerang::getProgPath(), RTLInstDict::readSSLFile(), and NJMCDecoder::RTLDict.

Member Function Documentation

RTL* ST20Decoder::createBranchRtl ADDRESS  pc,
std::list< Statement * > *  stmts,
const char *  name

virtual int ST20Decoder::decodeAssemblyInstruction ADDRESS  pc,
int  delta

Implements NJMCDecoder.

DecodeResult & ST20Decoder::decodeInstruction ADDRESS  pc,
int  delta

Decodes the machine instruction at pc and returns an RTL instance for the instruction.

Implements NJMCDecoder.

Definition at line 54 of file st20/decoder.m.

References RTL::appendStmt(), NJMCDecoder::dis_Reg(), NJMCDecoder::instantiate(), NULL, DecodeResult::numBytes, opEquals, DecodeResult::reset(), result, DecodeResult::rtl, BranchStatement::setCondExpr(), GotoStatement::setDest(), GotoStatement::setIsComputed(), to, NJMCDecoder::unconditionalJump(), and DecodeResult::valid.

Byte ST20Decoder::getByte ADDRESS  lc  )  [private]

DWord ST20Decoder::getDword ADDRESS  lc  )  [private]

SWord ST20Decoder::getWord ADDRESS  lc  )  [private]

bool ST20Decoder::isFuncPrologue ADDRESS  hostPC  )  [private]

void ST20Decoder::unused int  x  )  [private]

Definition at line 40 of file st20/decoder.m.

The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:46 2006 for Boomerang by  doxygen 1.4.6