mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Add address exception.
This commit is contained in:
parent
1f1e7236be
commit
53a2ea3a57
@ -290,6 +290,12 @@ struct Scheduler {
|
||||
address = offsetted_address;
|
||||
}
|
||||
|
||||
// Check for an address exception.
|
||||
if(address >= (1 << 26)) {
|
||||
registers_.exception<Registers::Exception::Address>();
|
||||
return;
|
||||
}
|
||||
|
||||
constexpr bool trans = !flags.pre_index() && flags.write_back_address();
|
||||
if constexpr (flags.operation() == SingleDataTransferFlags::Operation::STR) {
|
||||
const uint32_t source =
|
||||
|
Loading…
x
Reference in New Issue
Block a user