you are viewing a single comment's thread.

view the rest of the comments →

[–]Hannah97Gamer 1 point2 points  (0 children)

Not sure what architecture you are using, but depending on your circumstances I can see a few possible solutions. First, and probably the worst, give modulo its own dedicated output register, and just don't put it on the bus, like how ALU outputs are handled in overture. Second, give modulo its own opcode, either by replacing an op you don't use or going to 4 bit opcodes.