#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "Disa/Disa.h"
Go to the source code of this file.
Macros | |
#define | CONFIG_FILE "config.h" |
Functions | |
int | Ea_add_ns (int *tab, int ea) |
int | EaCalc (int a, int mask, int ea, int size, int top=0, int sign_extend=1) |
int | EaRead (int a, int v, int ea, int size, int mask, int top=0, int sign_extend=1) |
int | EaCalcRead (int r_ea, int r, int ea, int size, int mask, int sign_extend=1) |
int | EaCalcReadNoSE (int r_ea, int r, int ea, int size, int mask) |
int | EaCanRead (int ea, int size) |
int | EaWrite (int a, int v, int ea, int size, int mask, int top=0, int sign_extend_ea=1) |
int | EaCanWrite (int ea) |
int | EaAn (int ea) |
void | ot (const char *format,...) |
void | ltorg () |
int | MemHandler (int type, int size, int addrreg=0, int need_addrerr_check=1) |
void | FlushPC (void) |
int | OpGetFlags (int subtract, int xbit, int sprecialz=0) |
void | OpUse (int op, int use) |
void | OpStart (int op, int sea=0, int tea=0, int op_changes_cycles=0, int supervisor_check=0) |
void | OpEnd (int sea=0, int tea=0) |
int | OpBase (int op, int size, int sepa=0) |
void | OpAny (int op) |
int | OpArith (int op) |
int | OpLea (int op) |
int | OpAddq (int op) |
int | OpArithReg (int op) |
int | OpMul (int op) |
int | OpAbcd (int op) |
int | OpNbcd (int op) |
int | OpAritha (int op) |
int | OpAddx (int op) |
int | OpCmpEor (int op) |
int | OpCmpm (int op) |
int | OpChk (int op) |
int | GetXBit (int subtract) |
void | OpPush32 () |
void | OpPushSr (int high) |
int | OpTrap (int op) |
int | OpLink (int op) |
int | OpUnlk (int op) |
int | Op4E70 (int op) |
int | OpJsr (int op) |
int | OpBranch (int op) |
int | OpDbra (int op) |
int | OpBtstReg (int op) |
int | OpBtstImm (int op) |
int | OpNeg (int op) |
int | OpSwap (int op) |
int | OpTst (int op) |
int | OpExt (int op) |
int | OpSet (int op) |
int | OpAsr (int op) |
int | OpAsrEa (int op) |
int | OpTas (int op, int gen_special=0) |
int | OpMove (int op) |
void | OpFlagsToReg (int high) |
void | OpRegToFlags (int high, int srh_reg=0) |
int | OpMoveSr (int op) |
int | OpArithSr (int op) |
int | OpPea (int op) |
int | OpMovem (int op) |
int | OpMoveq (int op) |
int | OpMoveUsp (int op) |
int | OpExg (int op) |
int | OpMovep (int op) |
int | OpStopReset (int op) |
void | SuperEnd (void) |
void | SuperChange (int op, int srh_reg=-1) |
Variables | |
int | earead_check_addrerr |
int | eawrite_check_addrerr |
int | g_jmp_cycle_table [] |
int | g_jsr_cycle_table [] |
int | g_lea_cycle_table [] |
int | g_pea_cycle_table [] |
int | g_movem_cycle_table [] |
int * | CyJump |
int | ms |
const char *const | Narm [4] |
const char *const | Sarm [4] |
int | Cycles |
int | pc_dirty |
int | arm_op_count |
int | g_op |
int | opend_op_changes_cycles |
int | opend_check_interrupt |
int | opend_check_trace |
#define CONFIG_FILE "config.h" |
int Ea_add_ns | ( | int * | tab, |
int | ea | ||
) |
int EaAn | ( | int | ea | ) |
int EaCalc | ( | int | a, |
int | mask, | ||
int | ea, | ||
int | size, | ||
int | top = 0 , |
||
int | sign_extend = 1 |
||
) |
int EaCalcRead | ( | int | r_ea, |
int | r, | ||
int | ea, | ||
int | size, | ||
int | mask, | ||
int | sign_extend = 1 |
||
) |
int EaCalcReadNoSE | ( | int | r_ea, |
int | r, | ||
int | ea, | ||
int | size, | ||
int | mask | ||
) |
int EaCanRead | ( | int | ea, |
int | size | ||
) |
int EaCanWrite | ( | int | ea | ) |
int EaRead | ( | int | a, |
int | v, | ||
int | ea, | ||
int | size, | ||
int | mask, | ||
int | top = 0 , |
||
int | sign_extend = 1 |
||
) |
int EaWrite | ( | int | a, |
int | v, | ||
int | ea, | ||
int | size, | ||
int | mask, | ||
int | top = 0 , |
||
int | sign_extend_ea = 1 |
||
) |
void FlushPC | ( | void | ) |
int GetXBit | ( | int | subtract | ) |
void ltorg | ( | ) |
int MemHandler | ( | int | type, |
int | size, | ||
int | addrreg = 0 , |
||
int | need_addrerr_check = 1 |
||
) |
int Op4E70 | ( | int | op | ) |
int OpAbcd | ( | int | op | ) |
int OpAddq | ( | int | op | ) |
int OpAddx | ( | int | op | ) |
void OpAny | ( | int | op | ) |
int OpArith | ( | int | op | ) |
int OpAritha | ( | int | op | ) |
int OpArithReg | ( | int | op | ) |
int OpArithSr | ( | int | op | ) |
int OpAsr | ( | int | op | ) |
int OpAsrEa | ( | int | op | ) |
int OpBase | ( | int | op, |
int | size, | ||
int | sepa = 0 |
||
) |
int OpBranch | ( | int | op | ) |
int OpBtstImm | ( | int | op | ) |
int OpBtstReg | ( | int | op | ) |
int OpChk | ( | int | op | ) |
int OpCmpEor | ( | int | op | ) |
int OpCmpm | ( | int | op | ) |
int OpDbra | ( | int | op | ) |
void OpEnd | ( | int | sea = 0 , |
int | tea = 0 |
||
) |
int OpExg | ( | int | op | ) |
int OpExt | ( | int | op | ) |
void OpFlagsToReg | ( | int | high | ) |
int OpGetFlags | ( | int | subtract, |
int | xbit, | ||
int | sprecialz = 0 |
||
) |
int OpJsr | ( | int | op | ) |
int OpLea | ( | int | op | ) |
int OpLink | ( | int | op | ) |
int OpMove | ( | int | op | ) |
int OpMovem | ( | int | op | ) |
int OpMovep | ( | int | op | ) |
int OpMoveq | ( | int | op | ) |
int OpMoveSr | ( | int | op | ) |
int OpMoveUsp | ( | int | op | ) |
int OpMul | ( | int | op | ) |
int OpNbcd | ( | int | op | ) |
int OpNeg | ( | int | op | ) |
int OpPea | ( | int | op | ) |
void OpPush32 | ( | ) |
void OpPushSr | ( | int | high | ) |
void OpRegToFlags | ( | int | high, |
int | srh_reg = 0 |
||
) |
int OpSet | ( | int | op | ) |
void OpStart | ( | int | op, |
int | sea = 0 , |
||
int | tea = 0 , |
||
int | op_changes_cycles = 0 , |
||
int | supervisor_check = 0 |
||
) |
int OpStopReset | ( | int | op | ) |
int OpSwap | ( | int | op | ) |
int OpTas | ( | int | op, |
int | gen_special = 0 |
||
) |
int OpTrap | ( | int | op | ) |
int OpTst | ( | int | op | ) |
int OpUnlk | ( | int | op | ) |
void OpUse | ( | int | op, |
int | use | ||
) |
void ot | ( | const char * | format, |
... | |||
) |
void SuperChange | ( | int | op, |
int | srh_reg = -1 |
||
) |
void SuperEnd | ( | void | ) |
int arm_op_count |
int Cycles |
int* CyJump |
int earead_check_addrerr |
int eawrite_check_addrerr |
int g_jmp_cycle_table[] |
int g_jsr_cycle_table[] |
int g_lea_cycle_table[] |
int g_movem_cycle_table[] |
int g_op |
int g_pea_cycle_table[] |
int ms |
const char* const Narm[4] |
int opend_check_interrupt |
int opend_check_trace |
int opend_op_changes_cycles |
int pc_dirty |
const char* const Sarm[4] |