mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-21 05:29:13 +00:00
If I'm going to maintain the max_address approach, & is 'correct'.
% +1 would be 'more correct', but I think this approach is probably misguided.
This commit is contained in:
parent
dcc2fe0990
commit
f50e8b5106
@ -48,7 +48,7 @@ template <
|
|||||||
pending_entry_points_.pop_front();
|
pending_entry_points_.pop_front();
|
||||||
|
|
||||||
if(next_entry_point >= location) {
|
if(next_entry_point >= location) {
|
||||||
parser.parse(*this, memory - location, next_entry_point % max_address, length + location);
|
parser.parse(*this, memory - location, next_entry_point & max_address, length + location);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
// TEST.
|
// TEST.
|
||||||
#include "../../../InstructionSets/M50740/Parser.hpp"
|
#include "../../../InstructionSets/M50740/Parser.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user