English
Language : 

SAB80515 Datasheet, PDF (173/270 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller Family
Instruction Set
MOV
<dest-byte>, <src-byte>
Function:
Move byte variable
Description:
The byte variable indicated by the second operand is copied into the location
specified by the first operand. The source byte is not affected. No other register or
flag is affected.
This is by far the most flexible operation. Fifteen combinations of source and
destination addressing modes are allowed.
Example:
Internal RAM location 30H holds 40H. The value of RAM location 40H is 10H. The
data present at input port 1 is 11001010B (0CAH).
MOV
MOV
MOV
MOV
MOV
MOV
R0, #30H
A, @R0
R1,A
B, @R1
@R1,P1
P2,P1
; R0 < = 30H
; A < = 40H
; R1 < = 40H
; B < = 10H
; RAM (40H) < = 0CAH
; P2 < = 0CAH
leaves the value 30H in register 0, 40H in both the accumulator and register 1, 10H
in register B, and 0CAH (11001010B) both in RAM location 40H and output on
port 2.
MOV
A,Rn
Operation:
MOV
(A) ← (Rn)
Encoding:
Bytes:
Cycles:
1110 1rrr
1
1
MOV
A,direct *)
Operation:
MOV
(A) ← (direct)
Encoding:
Bytes:
Cycles:
1110 0101
2
1
direct address
*) MOV A,ACC is not a valid instruction.
Semiconductor Group
173