mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-01 17:29:12 +00:00
Ensures the supervisor flag is updated properly on MOVE to SR.
This commit is contained in:
parent
2d153359f8
commit
56e42859ab
@ -26,7 +26,7 @@
|
|||||||
extend_flag_ = (x) & 0x0010; \
|
extend_flag_ = (x) & 0x0010; \
|
||||||
interrupt_level_ = ((x) >> 8) & 7; \
|
interrupt_level_ = ((x) >> 8) & 7; \
|
||||||
trace_flag_ = (x) & 0x8000; \
|
trace_flag_ = (x) & 0x8000; \
|
||||||
is_supervisor_ = ((x) >> 13) & 1;
|
set_is_supervisor(!!(((x) >> 13) & 1));
|
||||||
|
|
||||||
template <class T, bool dtack_is_implicit> void Processor<T, dtack_is_implicit>::run_for(HalfCycles duration) {
|
template <class T, bool dtack_is_implicit> void Processor<T, dtack_is_implicit>::run_for(HalfCycles duration) {
|
||||||
HalfCycles remaining_duration = duration + half_cycles_left_to_run_;
|
HalfCycles remaining_duration = duration + half_cycles_left_to_run_;
|
||||||
|
Loading…
Reference in New Issue
Block a user