Transfer Mr - Analog Devices adsp-2100 Manual

Adsp-2100 family programmable single-chip microprocessors
Table of Contents

Advertisement

MAC
15

TRANSFER MR

Note that this instruction is a special case of xop * yop, with yop set to zero.
Z:
Destination register
Syntax:
Permissible conds (see Table 15.9)
EQ
LE
AC
Example:
Description:
MR transfer according to the description below. If the condition is not true
then perform a no-operation. Omitting the condition performs the transfer
unconditionally.
This instruction actually performs a multiply/accumulate, specifying yop =
0 as a multiplicand and adding the zero product to the contents of MR. The
MR register may be optionally rounded at the boundary between bits 15
and 16 of the result by specifying the RND option. If MF is specified as the
destination, bits 31-16 of the result are stored in MF. If MR is the
destination, the entire 40-bit result is stored in MR.
Status Generated:
ASTAT:
MV
Instruction Format:
Conditional ALU/MAC Operation, Instruction Type 9:
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0
0
AMF: Specifies the ALU or MAC Operation. In this case,
15 – 48
[ IF cond ]
NE
GT
NEG
POS
NOT AC
MV
IF EQ MF = MR (RND);
Test the optional condition and, if true, then perform the
7
6
SS MV AQ AS
*
Set on MAC overflow (if any of upper 9 bits of MR are not
all one or zero). Cleared otherwise.
1
0
0
Z
AMF
AMF = 01000 for Transfer MR operation
COND: condition
MR
= MR [ (RND) ] ;
MF
GE
LT
AV
NOT AV
NOT MV
NOT CE
5
4
3
2
AC AV AN AZ
1 1
1
0
0 0 0 0 0 0 0
COND

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents