Issue is due to incorrect handling of error. Once it fails to obtain the
next instruction, it was just returning false without clearing the
previous instruction. Now it assumes that it has reached end of program
and starts inserting nop for every new step. This is a temporary fix until pipeline stages are implemented completly. Then only proper fix can be provided.
Issue is due to incorrect handling of error. Once it fails to obtain the next instruction, it was just returning false without clearing the previous instruction. Now it assumes that it has reached end of program and starts inserting nop for every new step. This is a temporary fix until pipeline stages are implemented completly. Then only proper fix can be provided.