1whatleytay / saturn

A modern MIPS interpreter and assembler.
MIT License
29 stars 6 forks source link

sgtu not working properly #12

Closed AlekseyPanas closed 1 year ago

AlekseyPanas commented 1 year ago

I discovered that sgtu and sltu do the same thing.

image

In the image you see the register states after running those 6 lines. t2 should be 1 since t1 is greater than t0. Unless Im missing something, I think this is a bug

1whatleytay commented 1 year ago

That's embarrassing. Pushed a fix for this in 0.1.6 (here's the issue).

1whatleytay commented 1 year ago

Closing with #11 and #10. Reopen if this is not fixed yet.