front68k.cpp File Reference

#include "global.h"
#include "frontend.h"
#include "decoder.h"
#include "rtl.h"
#include "cfg.h"
#include "ss.h"
#include "prog.h"
#include "proc.h"
#include "options.h"
#include "BinaryFile.h"
#include "csr.h"

Go to the source code of this file.

Classes

struct  SemCmp

Functions

JCOND_TYPE getCond (const SemStr *pCond)
void initCti ()
void initFront ()

Variables

int arrConds [12][7]
int condLengths [12] = {1, 2, 3, 5, 4, 7, 1, 3, 2, 5, 1, 2}
static map< SemStr, int, SemCmpcondMap
queue< ADDRESSqLabels


Function Documentation

JCOND_TYPE getCond const SemStr *  pCond  ) 
 

Definition at line 99 of file front68k.cpp.

References condMap.

void initCti  ) 
 

void initFront  ) 
 

Definition at line 88 of file front68k.cpp.

References arrConds, condLengths, and condMap.


Variable Documentation

int arrConds[12][7]
 

Initial value:

 {
{ idZF},                                        
{ idNot, idZF},                                 
{ idBitXor, idNF, idOF},                        
{ idBitOr, idBitXor, idNF, idOF, idZF},         
{ idNot, idBitXor, idNF, idOF },                
{ idBitAnd, idNot, idBitXor, idNF, idOF,
    idNot, idZF},                               
{ idCF},                                        
{ idBitOr, idCF, idZF},                         
{ idNot, idCF},                                 
{ idBitAnd, idNot, idCF, idNot, idZF},          
{ idNF},                                        
{ idNot, idNF},                                 
}

Definition at line 63 of file front68k.cpp.

Referenced by initFront().

int condLengths[12] = {1, 2, 3, 5, 4, 7, 1, 3, 2, 5, 1, 2}
 

Definition at line 80 of file front68k.cpp.

Referenced by initFront().

map<SemStr, int, SemCmp> condMap [static]
 

Definition at line 61 of file front68k.cpp.

Referenced by getCond(), and initFront().

queue< ADDRESS> qLabels
 

Definition at line 48 of file front68k.cpp.


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