Download Print this page

Siemens SAB 80515 Series User Manual page 173

8-bit single-chip microcontroller family

Advertisement

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 30 H holds 40 H . The value of RAM location 40 H is 10 H . The
data present at input port 1 is 11001010B (0CA H ).
MOV
MOV
MOV
MOV
MOV
MOV
leaves the value 30 H in register 0, 40 H in both the accumulator and register 1, 10 H
in register B, and 0CA H (11001010B) both in RAM location 40 H and output on
port 2.
MOV
A,Rn
Operation:
MOV
(A) ← (Rn)
Encoding:
1 1 1 0
Bytes:
1
Cycles:
1
MOV
A,direct *)
Operation:
MOV
(A) ← (direct)
Encoding:
1 1 1 0
Bytes:
2
Cycles:
1
*) MOV A,ACC is not a valid instruction.
Semiconductor Group
R0, #30 H
A, @R0
R1,A
B, @R1
@R1,P1
P2,P1
1 r r r
0 1 0 1
; R0 < = 30 H
; A < = 40 H
; R1 < = 40 H
; B < = 10 H
; RAM (40 H ) < = 0CA H
; P2 < = 0CA H
*
direct address
173
Instruction Set

Advertisement

loading

This manual is also suitable for:

Sab 80c515Sab 80c535Sab 80535Sab 80515k