INSTRUCTION SET
S3C1840/C1850/C1860/P1860
MOV L,A
Binary Code:
Description:
Operation:
Flags:
Example:
0010 0000
The contents of the accumulator are moved to register L.
The contents of the source operand are not affected.
(L) ← (A)
SF : Set to one
SL : Unaffected
CLR
A
; Clear the contents of A
MOV
L,A
; Move 0H to REG L
MOV A,L
Binary Code:
Description:
Operation:
Flags:
Example:
0010 0011
The contents of register L are moved to the accumulator.
The contents of the source operand are not affected.
(A) ← (L)
SF : Set to one
SL : Unaffected
MOV
L,#3H
; Move 3H to REG L
MOV
A,L
; Move 0H to A
MOV @HL,A
Binary Code:
Description:
Operation:
Flags:
Example:
0010 0111
The contents of the accumulator are moved to the data memory whose address is
specified by registers H and L.
The contents of the source operand are not affected.
M [(H,L)] ← (A)
SF : Set to one
SL : Unaffected
CLR
A
; Clear the contents of A
MOV
H,#0H
; Move 0H to REG H
MOV
L,#3H
; Move 3H to REG L
MOV
@HL,A
; Move 0H to RAM address 03H
5-4