#include <list>
#include "types.h"
#include "rtl.h"
Go to the source code of this file.
Classes | |
struct | DecodeResult |
class | NJMCDecoder |
Defines | |
#define | addressToPC(pc) pc |
#define | COND_JUMP(name, size, relocd, cond) |
#define | DEBUG_DECODER (Boomerang::get()->debugDecoder) |
#define | DEBUG_STMTS |
#define | SETS(name, dest, cond) |
#define | SHOW_ASM(output) |
Enumerations | |
enum | ICLASS { NCT, SD, DD, SCD, SCDAN, SCDAT, SU, SKIP, NOP, DU, NCTA } |
Functions | |
Byte | getByte (ADDRESS lc) |
DWord | getDword (ADDRESS lc) |
SWord | getWord (ADDRESS lc) |
bool | isFuncPrologue (ADDRESS hostPC) |
void | not_used (int unwanted) |
Variables | |
char * | fp_names [] |
char * | r16_names [] |
char * | r32_names [] |
char * | r8_names [] |
int | scale [] |
char * | sr16_names [] |
|
Definition at line 206 of file decoder.h. Referenced by $c_br_nnull(), $c_br_null(), $c_c_nonneg(), $c_l_addr_none(), $c_s_addr_ma(), $c_s_addr_mb(), $c_s_addr_notm(), $daIndirect(), $daPostInc(), $daPreDec(), $dispA(), $imode(), $indirectA(), $rmode(), InstructionPatterns::bsr(), InstructionPatterns::call_(), and InstructionPatterns::call__(). |
|
Value: result.rtl = new RTL(pc, stmts); \ BranchStatement* jump = new BranchStatement; \ result.rtl->appendStmt(jump); \ result.numBytes = size; \ jump->setDest(relocd-delta); \ jump->setCondType(cond); \ SHOW_ASM(name<<" "<<relocd) Definition at line 211 of file decoder.h. Referenced by PentiumDecoder::decodeInstruction(). |
|
Definition at line 191 of file decoder.h. Referenced by genBSFR(), and NJMCDecoder::instantiate(). |
|
Value: std::list<Statement*>& lst = result.rtl->getList(); \ if (DEBUG_DECODER) { \ std::list<Statement*>::iterator ii; \ for (ii = lst.begin(); ii != lst.end(); ii++) \ std::cout << " " << *ii << "\n"; \ } Definition at line 194 of file decoder.h. Referenced by SparcDecoder::decodeInstruction(). |
|
Value: BoolAssign* bs = new BoolAssign(8); \ bs->setLeftFromList(stmts); \ stmts->clear(); \ result.rtl = new RTL(pc, stmts); \ result.rtl->appendStmt(bs); \ bs->setCondType(cond); \ result.numBytes = 3; \ SHOW_ASM(name<<" "<<dest) Definition at line 221 of file decoder.h. Referenced by PentiumDecoder::decodeInstruction(). |
|
Value: if (DEBUG_DECODER) \ std::cout << std::hex << pc << std::dec << ": " << output << std::endl; Definition at line 192 of file decoder.h. Referenced by NJMCDecoder::computedCall(), NJMCDecoder::computedJump(), SparcDecoder::decodeInstruction(), PPCDecoder::decodeInstruction(), and NJMCDecoder::unconditionalJump(). |
|
|
|
|
|
|
|
Definition at line 1635 of file hppa/decoder.cpp. References InstructionPatterns::link_save(), InstructionPatterns::link_save1(), NULL, InstructionPatterns::push_lea(), and InstructionPatterns::std_link(). |
|
Definition at line 43 of file hppa/decoder_low.cpp. |
|
|
|
|
|
|
|
|
|
|
|
|