1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-02 20:30:00 +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:
Thomas Harte 2021-01-27 18:31:11 -05:00
parent dcc2fe0990
commit f50e8b5106
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ template <
pending_entry_points_.pop_front();
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);
}
}
}

View File

@ -10,6 +10,7 @@
#include <cassert>
#include <cstdio>
#include <iostream>
// TEST.
#include "../../../InstructionSets/M50740/Parser.hpp"