misc
This commit is contained in:
parent
70cc1e30ac
commit
f1bcefe433
4 changed files with 11 additions and 11 deletions
2
benchmark.txt
Normal file
2
benchmark.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
41ef37ce6b7f13f1cc2df0e6ac570647fe07fe12:
|
||||
MIPS: 0.74, relative speed: 33.23%, instructions executed: 3692600 in 5.00 seconds
|
1
cpu.cpp
1
cpu.cpp
|
@ -702,7 +702,6 @@ bool cpu::double_operand_instructions(const uint16_t instr)
|
|||
|
||||
case 0b110: { // ADD/SUB Add/Subtract Word
|
||||
auto g_ssrc = getGAM(src_mode, src_reg, wm_word);
|
||||
|
||||
auto g_dst = getGAM(dst_mode, dst_reg, wm_word);
|
||||
|
||||
addToMMR1(g_dst);
|
||||
|
|
1
mmu.cpp
1
mmu.cpp
|
@ -464,7 +464,6 @@ uint32_t mmu::calculate_physical_address(const int run_mode, const uint16_t a, c
|
|||
bool d = space == d_space && get_use_data_space(run_mode);
|
||||
|
||||
uint16_t p_offset = a & 8191; // page offset
|
||||
|
||||
uint8_t apf = a >> 13; // active page field
|
||||
|
||||
m_offset = get_physical_memory_offset(run_mode, d, apf);
|
||||
|
|
Loading…
Add table
Reference in a new issue