#include <frontend/st20decoder.h>
Inheritance diagram for ST20Decoder:
Definition at line 27 of file st20decoder.h.
Public Member Functions | |
virtual int | decodeAssemblyInstruction (ADDRESS pc, int delta) |
virtual DecodeResult & | decodeInstruction (ADDRESS pc, int delta) |
Decodes the machine instruction at pc and returns an RTL instance for the instruction. | |
ST20Decoder () | |
Private Member Functions | |
RTL * | createBranchRtl (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) |
|
Definition at line 343 of file st20/decoder.m. References file, Boomerang::get(), Boomerang::getProgPath(), RTLInstDict::readSSLFile(), and NJMCDecoder::RTLDict. |
|
|
|
Implements NJMCDecoder. |
|
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. |
|
|
|
|
|
|
|
|
|
Definition at line 40 of file st20/decoder.m. |