Infineon Technologies C166S V2 User Manual page 389

16-bit microcontroller
Table of Contents

Advertisement

CoMOV
Group
Syntax
Source Operand(s)
Destination Operand(s)
Operation
(op1) ← (op2)
Description
Moves the contents of the memory location specified by the source operand op2 to the
memory location specified by the destination operand op1. Note that in this case, unlike
for the other instructions, IDXi can address the entire memory. This instruction does not
affect the Mac Flags, but modifies the CPU Flags as any other MOV instruction.
Note: CoMOV is the only MAC instruction which affects the CPU flags. MAC Flags are
not affected.
CPU Flags
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.
Encoding
Mnemonic
CoMOV
[IDXi*] , [Rw
User Manual
Memory to Memory Move
Data Movement Instructions
CoMOV op1, op2
op2 → WORD
op1 → WORD
E
Z
*
*
*]
m
Detailed Instruction Description
V
C
-
-
Format
D3 Xm 00 rrr0:0qqq
8-389
User Manual
C166S V2
CoMOV
N
*
Bytes
4
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents