#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <algorithm>
#include <iomanip>
#include "ComponentFactory.h"
#include "GXemul.h"
#include "components/M88K_CPUComponent.h"
Go to the source code of this file.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
cmp | |||
) |
Definition at line 1031 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, and REG32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
cmp_imm | |||
) |
Definition at line 1038 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, REG32, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
extu_imm | |||
) |
Definition at line 1076 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
extu | |||
) |
Definition at line 1081 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, and REG32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
ext_imm | |||
) |
Definition at line 1086 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
ext | |||
) |
Definition at line 1091 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, and REG32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
mak | |||
) |
Definition at line 1118 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, and REG32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
mak_imm | |||
) |
Definition at line 1125 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
divu_imm | |||
) |
Definition at line 1140 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, DYNTRANS_SYNCH_PC, M88K_CR_PSR, M88K_EXCEPTION_ILLEGAL_INTEGER_DIVIDE, M88K_EXCEPTION_SFU1_PRECISE, M88K_FPCR_FPECR, M88K_FPECR_FUNIMP, M88K_PSR_SFD1, REG32, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
mulu_imm | |||
) |
Definition at line 1156 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, DYNTRANS_SYNCH_PC, M88K_CR_PSR, M88K_EXCEPTION_SFU1_PRECISE, M88K_FPCR_FPECR, M88K_FPECR_FUNIMP, M88K_PSR_SFD1, REG32, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
bsr | |||
) |
Definition at line 1171 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, M88K_IC_ENTRIES_PER_PAGE, M88K_INSTR_ALIGNMENT_SHIFT, M88K_RETURN_REG, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
bsr_samepage | |||
) |
Definition at line 1183 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, M88K_IC_ENTRIES_PER_PAGE, M88K_INSTR_ALIGNMENT_SHIFT, M88K_RETURN_REG, DyntransIC::p, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
bsr_functioncalltrace | |||
) |
Definition at line 1193 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, M88K_IC_ENTRIES_PER_PAGE, M88K_INSTR_ALIGNMENT_SHIFT, M88K_RETURN_REG, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
bsr_n | |||
) |
Definition at line 1210 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, DyntransIC::f, M88K_IC_ENTRIES_PER_PAGE, M88K_INSTR_ALIGNMENT_SHIFT, M88K_RETURN_REG, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
bsr_n_functioncalltrace | |||
) |
Definition at line 1240 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, DyntransIC::f, M88K_IC_ENTRIES_PER_PAGE, M88K_INSTR_ALIGNMENT_SHIFT, M88K_RETURN_REG, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
bsr_n_functioncalltrace_singlestep | |||
) |
Definition at line 1276 of file M88K_CPUComponent.cc.
References DyntransIC::arg, cond, DYNTRANS_INSTR_HEAD, DYNTRANS_SYNCH_PC, DyntransIC::f, M88K_IC_ENTRIES_PER_PAGE, M88K_INSTR_ALIGNMENT_SHIFT, M88K_RETURN_REG, op, DyntransIC::p, REG32, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
jmp | |||
) |
Definition at line 1460 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, M88K_RETURN_REG, DyntransIC::p, and REG32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
jmp_n | |||
) |
Definition at line 1476 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, DyntransIC::f, and REG32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
jmp_n_functioncalltrace | |||
) |
Definition at line 1504 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, DyntransIC::f, M88K_RETURN_REG, DyntransIC::p, and REG32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
jmp_n_functioncalltrace_singlestep | |||
) |
Definition at line 1541 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, M88K_RETURN_REG, DyntransIC::p, and REG32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
ldcr | |||
) |
Definition at line 1564 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, DYNTRANS_SYNCH_PC, M88K_CR_PSR, M88K_EXCEPTION_PRIVILEGE_VIOLATION, M88K_PSR_MODE, REG32, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
stcr | |||
) |
Definition at line 1584 of file M88K_CPUComponent.cc.
References addr, DyntransIC::arg, BigEndian, data, DYNTRANS_INSTR_HEAD, DYNTRANS_SYNCH_PC, LittleEndian, M88K_CR_PSR, M88K_EXCEPTION_MISALIGNED_ACCESS, M88K_EXCEPTION_PRIVILEGE_VIOLATION, M88K_EXCEPTION_USER_TRAPS_START, M88K_PSR_MODE, DyntransIC::p, REG32, and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
fail_early | |||
) |
Definition at line 1719 of file M88K_CPUComponent.cc.
References DYNTRANS_INSTR_HEAD, and DYNTRANS_SYNCH_PC.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
fail_late | |||
) |
Definition at line 1735 of file M88K_CPUComponent.cc.
References DyntransIC::arg, DYNTRANS_INSTR_HEAD, DYNTRANS_SYNCH_PC, DyntransIC::f, Component::GetUI(), M88K_FAIL_EARLY_INSTR, M88K_INSTR_ALIGNMENT_SHIFT, M88K_RETURN_REG, M88K_ZERO_REG, CPUDyntransComponent::m_executedCycles, CPUDyntransComponent::m_firstIConPage, CPUComponent::m_isBigEndian, CPUDyntransComponent::m_nrOfCyclesToExecute, CPUComponent::m_pc, CPUComponent::m_showFunctionTraceCall, op, DyntransIC::p, UI::ShowDebugMessage(), and DyntransIC::u32.
DYNTRANS_INSTR | ( | M88K_CPUComponent | , |
ToBeTranslated | |||
) |
Definition at line 2466 of file M88K_CPUComponent.cc.
References Component::AsAddressDataBus(), Component::AsCPUComponent(), UnitTest::Assert(), BigEndian, ComponentFactory::CreateComponent(), CPUComponent::DisassembleInstruction(), DYNTRANS_INSTR_HEAD, GXemul::Execute(), DyntransIC::f, GXemul::GetCommandInterpreter(), GXemul::GetRootComponent(), Component::GetVariable(), ComponentFactory::HasAttribute(), refcount_ptr< T >::IsNULL(), Component::LookupPath(), DyntransIC::p, Component::Reset(), CommandInterpreter::RunCommand(), GXemul::Running, GXemul::SetRunState(), Component::SetVariableValue(), GXemul::SingleStepping, StateVariable::ToInteger(), StateVariable::ToString(), UNITTEST, and UNITTESTS.