User guide

198 CHAPTER 11. THE MC PACKAGE
SEQ R
Set the specified register to one if the first operand of a previous CMP instruction
was equal to its second operand, otherwise set it to zero.
SGE R
Set the specified register to one if the first operand of a previous CMP instruction
was greater than or equal to its second operand using signed arithmetic, otherwise set
it to zero.
SGT R
Set the specified register to one if the first operand of a previous CMP instruction
was greater than its second operand using signed arithmetic, otherwise set it to zero.
SLE R
Set the specified register to one if the first operand of a previous CMP instruction
was less than or equal to it s second operand using signed arithmetic, otherwise set it
to zero.
SLT R
Set the specified register to one if the first operand of a previous CMP instruction
was less than its second operand using signed arithmetic, otherwise set it to zero.
SNE R
Set the specified register to one if the first operand of a previous CMP instruction
was not equal to its second operand, otherwise set it to zero.
SUB RA RV RG RM RL RD RDX RDXs RDXsB
RR AR VR GR MR LR DR DXR DXsR DXsBR
RK AK VK GK MK LK DK DXK DXsK DXsBK
Subtract the second operand from the first, and set the condition code appropri-
ately.
SUBC RA RV RG RM RL RD RDX RDXs RDXsB
RR AR VR GR MR LR DR DXR DXsR DXsBR
RK AK VK GK MK LK DK DXK DXsK DXsBK
Subtract the con di tion code carry bit and the second operand from the first, and
set the condition code appropriately. Subtracting 1 from the 64-bit value held in B:A
can be done by the code generated by:
mcRK( mc_sub, mc_a, 1) // Don’t use DEC here!!
mcRK( mc_subc, mc_b, 0)
UDIV K R A V G M L D DX DXs DXsB
Divide the double length value in D:A by the specified operand. The res ul t is l ef t
in A an d the remainder in D. The UDIV instruction performs unsigned arithmetic.