1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-11 08:30:55 +00:00

Tackle two lingering references to exception_handler.

This commit is contained in:
Thomas Harte 2022-04-29 03:38:23 -04:00
parent 9680566595
commit 13d20137d3

View File

@ -572,7 +572,7 @@ template <
#define announce_divide_by_zero() \
status.negative_flag_ = status.overflow_flag_ = 0; \
status.zero_result_ = 1; \
exception_handler.raise_exception(5);
flow_controller.raise_exception(5);
case Operation::DIVU: {
status.carry_flag_ = 0;
@ -1182,7 +1182,7 @@ template <
#define decode_shift_count() \
int shift_count = (decoded_instruction_.full & 32) ? data_[(decoded_instruction_.full >> 9) & 7].full&63 : ( ((decoded_instruction_.full >> 9)&7) ? ((decoded_instruction_.full >> 9)&7) : 8) ; \
exception_handler.consume_cycles(2 * shift_count);
flow_controller.consume_cycles(2 * shift_count);
#define set_flags_b(t) set_flags(dest.halves.low.halves.low, 0x80, t)
#define set_flags_w(t) set_flags(dest.halves.low.full, 0x8000, t)