From 984384b7996588d1a7637c6bc4e8c8fa7c7daa97 Mon Sep 17 00:00:00 2001 From: Keith Bourdon <33245078+celerizer@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:00:11 -0500 Subject: [PATCH] fix shift test --- emu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emu.c b/emu.c index 72adee6..a50c177 100644 --- a/emu.c +++ b/emu.c @@ -2826,7 +2826,11 @@ void h8_test_division(void) void h8_test_shift(void) { + h8_system_t system = {0}; h8_byte_t b; + h8_word_t w; + h8_long_t l; + b.u = 0x55; shal_b(&system, &b); if (b.u != 0xAA || system.cpu.ccr.flags.c != 0)