CMPUI


Synopsis:

Compare immediate to register.

Operation:

If Ra < Immediate

    Rt = -1

Else If Ra = Immediate

    Rt = 0

Else

    Rt = 1

Description:

This instruction performs an unsigned comparison of an immediate value to a general purpose register and places the result in a general purpose register. This instruction will never cause an exception.

Format:

Opcode7 Ra5 Rt5 Immediate15
9 Ra5 Rt5 Immediate15