15
15 – 63
Syntax:
reg = reg ;
Permissible registers
AX0
MX0
SI
SB
CNTR
AX1
MX1
SE
PX
OWRCNTR(write only)
AY0
MY0
SR1
ASTAT
RX0
AY1
MY1
SR0
MSTAT
RX1
AR
MR2
I0-I7
SSTAT(read only) TX0
MR1
M0-M7
IMASK
TX1
MR0
L0-L7
ICNTL
IFC(write only)
Example:
I7 = AR;
Description:
Move the contents of the source to the destination
location. The contents of the source are always right-justified in the
destination location after the move.
When transferring a smaller register to a larger register (e.g., an 8-bit
register to a 16-bit register), the value stored in the destination is either
sign-extended to the left if the source is a signed value, or zero-filled to the
left if the source is an unsigned value. The unsigned registers which
(when used as the source) cause the value stored in the destination to be
zero-filled to the left are: I0 through I7, L0 through L7, CNTR, PX, ASTAT,
MSTAT, SSTAT, IMASK, and ICNTL. All other registers cause sign-
extension to the left.
When transferring a larger register to a smaller register (e.g., a 16-bit
register to a 14-bit register), the value stored in the destination is right-
justified (bit 0 maps to bit 0) and the higher-order bits are dropped.
Note that whenever MR1 is loaded with data, it is sign-extended into
MR2.
Status Generated:
None affected.
MOVE
REGISTER MOVE
(instruction continues on next page)