hppa/disassembler.cpp File Reference

#include <assert.h>
#include "global.h"
#include "decoder.h"
#include "BinaryFile.h"
#include "hppa-names.h"

Go to the source code of this file.

Defines

#define ANAME   apre += sprintf( apre, "%s", name );
#define CONS(x)   strcat(constrName, x);
#define IGNORE(x)   not_used(*(int*)&x);
#define sign_extend(N, SIZE)   (((int)((N) << (sizeof(unsigned)*8-(SIZE)))) >> (sizeof(unsigned)*8-(SIZE)))

Functions

int dis_c_c_n (ADDRESS hostpc)
DWord getDword (unsigned lc)
const char * GetReloc (unsigned pc)
const char * GetSym (unsigned pc)
char * killDot (char *str)
void not_used (int unwanted)
char * signedHex (int disp)

Variables

char _assembly []
char adata [256]
char * apre
char aprefix [256]
char * astr
char * cmpltsep = "."
static char killBuffer [32]
static char regbuf [32]
static char shexBuffer [32]


Define Documentation

#define ANAME   apre += sprintf( apre, "%s", name );
 

Definition at line 59 of file hppa/disassembler.m.

#define CONS  )     strcat(constrName, x);
 

Definition at line 65 of file hppa/disassembler.m.

#define IGNORE  )     not_used(*(int*)&x);
 

Definition at line 66 of file hppa/disassembler.m.

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

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


Function Documentation

int dis_c_c_n ADDRESS  hostpc  ) 
 

Definition at line 106 of file hppa/disassembler.cpp.

References getDword(), and result.

DWord getDword unsigned  lc  ) 
 

Definition at line 69 of file hppa/disassembler.cpp.

const char* GetReloc unsigned  pc  ) 
 

const char* GetSym unsigned  pc  ) 
 

char* killDot char *  str  ) 
 

Definition at line 85 of file hppa/disassembler.cpp.

References killBuffer.

void not_used int  unwanted  ) 
 

Definition at line 64 of file hppa/disassembler.cpp.

char* signedHex int  disp  ) 
 

Definition at line 95 of file hppa/disassembler.cpp.

References shexBuffer.


Variable Documentation

char _assembly[]
 

char adata[256]
 

Definition at line 44 of file hppa/disassembler.cpp.

char* apre
 

Definition at line 45 of file hppa/disassembler.cpp.

char aprefix[256]
 

Definition at line 43 of file hppa/disassembler.cpp.

char* astr
 

Definition at line 46 of file hppa/disassembler.cpp.

char* cmpltsep = "."
 

Definition at line 47 of file hppa/disassembler.cpp.

char killBuffer[32] [static]
 

Definition at line 82 of file hppa/disassembler.cpp.

char regbuf[32] [static]
 

Definition at line 1303 of file hppa/disassembler.cpp.

char shexBuffer[32] [static]
 

Definition at line 93 of file hppa/disassembler.cpp.

Referenced by signedHex().


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