mc68k/decoder_low.cpp File Reference

#include <assert.h>
#include <stdio.h>
#include "global.h"
#include "decoder.h"
#include "ss.h"
#include "rtl.h"

Go to the source code of this file.

Defines

#define ADDBUMP   {if (bump) bumpRegister(RTs, bump, bumpr);}
#define sign_extend(N, SIZE)   (((int)((N) << (sizeof(unsigned)*8-(SIZE)))) >> (sizeof(unsigned)*8-(SIZE)))

Functions

RT * assignTemp (SemStr *src, int size, SemStr *&temp)
void bumpRegister (list< RT * > *RTs, int bump, int bumpr)
void chop2ndLast (char *name)
void chopBoth (char *name)
void chopDotex (char *name)
void decodeTrapName (ADDRESS pc)
SWord getWord (unsigned lc)
RT * sgnExTemp (SemStr *src, int size, int size2, SemStr *&temp)

Variables

static bool IsTrap = false
static bool prevIsTrap = false
static char sslName [20]
static int temp1 = 0


Define Documentation

#define ADDBUMP   {if (bump) bumpRegister(RTs, bump, bumpr);}
 

Definition at line 197 of file mc68k/decoder_low.m.

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

Definition at line 1 of file mc68k/decoder_low.cpp.


Function Documentation

RT* assignTemp SemStr *  src,
int  size,
SemStr *&  temp
 

Definition at line 152 of file mc68k/decoder_low.cpp.

References temp1.

void bumpRegister list< RT * > *  RTs,
int  bump,
int  bumpr
 

Definition at line 129 of file mc68k/decoder_low.cpp.

void chop2ndLast char *  name  ) 
 

Definition at line 100 of file mc68k/decoder_low.cpp.

References sslName.

void chopBoth char *  name  ) 
 

Definition at line 110 of file mc68k/decoder_low.cpp.

References sslName.

void chopDotex char *  name  ) 
 

Definition at line 90 of file mc68k/decoder_low.cpp.

References sslName.

void decodeTrapName ADDRESS  pc  ) 
 

Definition at line 81 of file mc68k/decoder_low.cpp.

SWord getWord unsigned  lc  ) 
 

Definition at line 67 of file mc68k/decoder_low.cpp.

RT* sgnExTemp SemStr *  src,
int  size,
int  size2,
SemStr *&  temp
 

Definition at line 174 of file mc68k/decoder_low.cpp.

References temp1.


Variable Documentation

bool IsTrap = false [static]
 

Definition at line 55 of file mc68k/decoder_low.cpp.

bool prevIsTrap = false [static]
 

Definition at line 56 of file mc68k/decoder_low.cpp.

char sslName[20] [static]
 

Definition at line 57 of file mc68k/decoder_low.cpp.

Referenced by chop2ndLast(), chopBoth(), and chopDotex().

int temp1 = 0 [static]
 

Definition at line 59 of file mc68k/decoder_low.cpp.

Referenced by assignTemp(), and sgnExTemp().


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