most of the mips.v logic, not compiling yet, not tested