AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Syntax:          MOV {<cond>}{S} <destination>, <operand2>
Operation:     destination = operand two
Flags:          N,Z,(C)

This instruction moves data into the destination register. Operand two, as expected, can be specified as a register, an immediate operand or as a shifted register.

Examples:
MOV     R12,R0          ; Move the contents of R0 into R12
MOV     R6,R6,ASL#2     ; R6 = R6*4
MOV     R0,R2,ASL R5     ; R0 = R2 * (2^R5)
MOVEQS  R0,R4          ; If Z flag set Then R0 = R4 (setting flags)
MOV     R12,#16          ; Pick up 16 into R12

[sh-index] Back to list of manuals