You copied the Doc URL to your clipboard.

CPY pseudo-instruction

Copy a value from one register to another.

CPY{ cond } Rd , Rm



is an optional condition code.


is the destination register.


is the register holding the value to be copied.


The CPY pseudo-instruction copies a value from one register to another, without changing the condition flags.

CPY Rd, Rm assembles to MOV Rd, Rm .


This pseudo-instruction is available in ARMv6 and above in ARM code and in T variants of ARMv6 and above in Thumb code.

Register restrictions

Using SP or PC for both Rd and Rm is deprecated.

Condition flags

This instruction does not change the condition flags.

Was this page helpful? Yes No