User guide

11.3. THE MC LANGUAGE 197
RK AK VK GK MK LK DK DXK DXsK DXsBK
Move the zero extended 16-bit val ue specified by the second operand into the first.
LEA RA RV RG RM RL RD RDX RDXs RDXsB
Load the register specified by the first operand with t he absolute address of the
memory location specified by the s ec ond operand.
LSH RK RR
Shift to the left the value in the re gi st e r speci fie d by the first operand by the
amount specified by the second oper and. If the second operand is a re gi st er is must be
C. Vacated positions are filled with zeros. The effect is undefined if the shift distance
is not in the range 0 to 31.
MUL K R A V G M L D DX DXs DXsB
Multiply register A by the operand placing the double length result in D:A. Signed
arithmetic is used. Unsigned arithmetic is used. Immediate (K) operands may some-
times be packed in the data area.
NEG R A V G M L D DX DXs DXsB
Negate the value specified by the operand.
NOP F
Performs no operati on.
NOT R A V G M L D DX DXs DXsB
Perform the bitwise complement of the value specified by the operand.
OR 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
Perform the bitwise OR of the second operand into the first.
POP R A V G M L D DX DXs DXsB
Pop one word off t he stack placing it in the specified register or memory location.
PUSH K R A V G M L D DX DXs DXsB
Push the specified constant, register or memory location onto the stack.
RSH RR RK
Shift to the right the value in the register spe ci fi ed by the first operand by the amount
specified by the second operand. If the second operand is a register is must be C.
Vacated positions are filled with zeros. The effect is undefined if the shift di st anc e is
not in the range 0 to 31.
RTN F
This causes a return from the current function. The result, if any, should b e in A.