5.6.3. MOV Thumb pseudo-instruction

The Thumb MOV pseudo-instruction moves the value of a low register to another low register (r0-r7).

The Thumb MOV instruction cannot move values from one low register to another.

Note

The ADD immediate instruction generated by the assembler has the side-effect of updating the condition codes.

Syntax

The syntax of MOV is:

MOV Rd,Rs

where:

Rd

is the destination register.

Rs

is the source register.

Usage

The MOV pseudo-instruction usesan ADD immediate instruction with a zero immediate value.

Refer to the ARM Architectural Reference Manual for more information on the Thumb MOV instruction.

Example

		MOV 	Rd, Rs		; generates the opcode for ADD Rd, Rs, #0
Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0041C
Non-Confidential