sparcdecoder.cpp File Reference

#include <assert.h>
#include "decoder.h"
#include "exp.h"
#include "prog.h"
#include "proc.h"
#include "sparcdecoder.h"
#include "rtl.h"
#include "BinaryFile.h"
#include "boomerang.h"

Go to the source code of this file.

Defines

#define DIS_ADDR   (dis_Eaddr(addr))
#define DIS_FDD   (dis_RegLhs((fdd>>1)+64))
#define DIS_FDQ   (dis_RegLhs((fdq>>2)+80))
#define DIS_FDS   (dis_RegLhs(fds+32))
#define DIS_FS1D   (dis_RegRhs((fs1d>>1)+64))
#define DIS_FS1Q   (dis_RegRhs((fs1q>>2)+80))
#define DIS_FS1S   (dis_RegRhs(fs1s+32))
#define DIS_FS2D   (dis_RegRhs((fs2d>>1)+64))
#define DIS_FS2Q   (dis_RegRhs((fs2q>>2)+80))
#define DIS_FS2S   (dis_RegRhs(fs2s+32))
#define DIS_RD   (dis_RegLhs(rd))
#define DIS_RDR   (dis_RegRhs(rd))
#define DIS_ROI   (dis_RegImm(roi))
#define DIS_RS1   (dis_RegRhs(rs1))
#define sign_extend(N, SIZE)   (((int)((N) << (sizeof(unsigned)*8-(SIZE)))) >> (sizeof(unsigned)*8-(SIZE)))


Define Documentation

#define DIS_ADDR   (dis_Eaddr(addr))
 

Definition at line 51 of file sparcdecoder.cpp.

#define DIS_FDD   (dis_RegLhs((fdd>>1)+64))
 

Definition at line 62 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_FDQ   (dis_RegLhs((fdq>>2)+80))
 

Definition at line 63 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_FDS   (dis_RegLhs(fds+32))
 

Definition at line 59 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_FS1D   (dis_RegRhs((fs1d>>1)+64))
 

Definition at line 60 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_FS1Q   (dis_RegRhs((fs1q>>2)+80))
 

Definition at line 64 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_FS1S   (dis_RegRhs(fs1s+32))
 

Definition at line 55 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_FS2D   (dis_RegRhs((fs2d>>1)+64))
 

Definition at line 61 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_FS2Q   (dis_RegRhs((fs2q>>2)+80))
 

Definition at line 65 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_FS2S   (dis_RegRhs(fs2s+32))
 

Definition at line 56 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_RD   (dis_RegLhs(rd))
 

Definition at line 52 of file sparcdecoder.cpp.

#define DIS_RDR   (dis_RegRhs(rd))
 

Definition at line 53 of file sparcdecoder.cpp.

#define DIS_ROI   (dis_RegImm(roi))
 

Definition at line 50 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

#define DIS_RS1   (dis_RegRhs(rs1))
 

Definition at line 54 of file sparcdecoder.cpp.

Referenced by SparcDecoder::decodeInstruction().

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

Definition at line 1 of file sparcdecoder.cpp.


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