STMicroelectronics ST10 Series Programming Manual page 155

Table of Contents

Advertisement

CoMOV
Group
Syntax
Operation
Data Types
Description
Moves the contents of the memory location specified by the source operand, op2, to the memory location
specified by the destination operand op1. This instruction is repeatable. Note that, unlike for the other
instructions, IDX
can address the entire memory. This instruction does not affect the Mac Flags but mod-
i
ify the CPU Flags as any other MOV instruction.
CPU Flags
E
*
E
Set if the value of op2 represents the lowest possible negative number. Cleared otherwise.
Used to signal the end of a table.
Z
Set if the value of the source operand op2 equals zero. Cleared otherwise.
V
Not affected.
C
Not affected.
N
Set if the most significant bit of the source operand op2 is set. Cleared otherwise.
MAC Flags
N
-
N
Not affected.
Z
Not affected.
C
Not affected.
SV
Not affected.
E
Not affected.
SL
Not affected.
Addressing Modes
Mnemonic
CoMOV
[IDX
Examples
Repeat 24 times CoMOV [IDX1+QX0], [R11+QR1]
Memory to Memory Move
Transfer Instructions
CoMOV
(op1)
WORD
Z
*
Z
C
-
-
⊗], [Rw
⊗]
i
m
ST10 FAMILY PROGRAMMING MANUAL
op1, op2
<-- (op2)
V
-
SV
-
Rep
Format
Yes
D3 Xm 00 rrrr:rqqq
; ((IDX1)) <-- ((R11))
; (R11) <-- (R11) + (QR1)
; (IDX1) <-- (IDX1) + (QX0)
C
N
-
*
E
-
Bytes
4
SL
-
153/172

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ST10 Series and is the answer not in the manual?

Questions and answers

Table of Contents