hppa/decoder.cpp File Reference

#include <assert.h>
#include "global.h"
#include "proc.h"
#include "prog.h"
#include "decoder.h"
#include "ss.h"
#include "rtl.h"
#include "csr.h"
#include "hppa.pat.h"
#include "hppa-names.h"
#include "BinaryFile.h"

Go to the source code of this file.

Defines

#define sign_extend(N, SIZE)   (((int)((N) << (sizeof(unsigned)*8-(SIZE)))) >> (sizeof(unsigned)*8-(SIZE)))

Functions

void c_addr (ADDRESS hostpc, SemStr *ssb, SemStr *ssx)
bool is_null (ADDRESS hostPC)
bool isFuncPrologue (ADDRESS hostPC)

Variables

static const JCOND_TYPE hl_jcond_type []


Define Documentation

#define sign_extend N,
SIZE   )     (((int)((N) << (sizeof(unsigned)*8-(SIZE)))) >> (sizeof(unsigned)*8-(SIZE)))
 

Definition at line 1 of file hppa/decoder.cpp.

Referenced by $c_br_nnull(), $c_br_null(), $c_l_addr_none(), $c_s_addr_ma(), $c_s_addr_mb(), $c_s_addr_notm(), InstructionPatterns::addaw_d16(), InstructionPatterns::call_(), InstructionPatterns::call__(), InstructionPatterns::dispA(), InstructionPatterns::imode(), InstructionPatterns::LDO(), InstructionPatterns::leaSpSp(), InstructionPatterns::link(), and InstructionPatterns::peaPcDisp().


Function Documentation

void c_addr ADDRESS  hostpc,
SemStr *  ssb,
SemStr *  ssx
 

bool is_null ADDRESS  hostPC  ) 
 

Definition at line 73 of file hppa/decoder.cpp.

References getDword().

bool isFuncPrologue ADDRESS  hostPC  ) 
 

Definition at line 1635 of file hppa/decoder.cpp.

References InstructionPatterns::new_reg_win(), InstructionPatterns::new_reg_win_large(), NULL, InstructionPatterns::same_reg_win(), and InstructionPatterns::same_reg_win_large().


Variable Documentation

const JCOND_TYPE hl_jcond_type[] [static]
 

Initial value:

 {
    HLJCOND_JNE, 
    HLJCOND_JE,
    HLJCOND_JSL,
    HLJCOND_JSLE,
    HLJCOND_JUL,
    HLJCOND_JULE,
    HLJCOND_JOF,
    HLJCOND_JNE, 
    HLJCOND_JE,
    HLJCOND_JNE,
    HLJCOND_JSGE,
    HLJCOND_JSG,
    HLJCOND_JUGE,
    HLJCOND_JUG,
    HLJCOND_JNOF,
    HLJCOND_JE  
}

Definition at line 51 of file hppa/decoder.cpp.


Generated on Tue Sep 19 21:18:37 2006 for Boomerang by  doxygen 1.4.6