Skip to content

Commit

Permalink
fix shift test
Browse files Browse the repository at this point in the history
  • Loading branch information
celerizer committed Oct 15, 2024
1 parent 1e11d00 commit 984384b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 984384b

Please sign in to comment.