hazard not generated/ignored?

Issue #4 resolved
William "Amos" Confer created an issue

Doing a register read immediately after writing to the same register doesn't stall on the data hazard.

Sample asm to demo error:

.constant   TERM    0x4000
.address 0x2000
    movi    r4  'X'
    stor    r4, [TERM]

This code should print X but instead prints nothing because the r4 value used by STOR is 0 instead of 'X'.

Comments (1)

  1. Log in to comment