Intel 8XC251SA User Manual page 331

Embedded microcontroller
Hide thumbs Also See for 8XC251SA:
Table of Contents

Advertisement

Hex Code in:
Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation:
LJMP
(PC) ← (addr.15:0)
LJMP @WRj
Binary Mode
Bytes:
States:
[Encoding]
1 0 0 0
Hex Code in:
Binary Mode = [A5] [Encoding]
Source Mode = [Encoding]
Operation:
LJMP
(PC) ← ((WRj))
MOV <dest>,<src>
Function:
Move byte variable
Description:
Copies the byte variable specified by the second operand into the location specified by the
first operand. The source byte is not affected.
This is by far the most flexible operation. Twenty-four combinations of source and
destination addressing modes are allowed.
Flags:
CY
Example:
On-chip RAM location 30H contains 40H, on-chip RAM location 40H contains 10H, and
input port 1 contains 11001010B (0CAH). After executing the instruction sequence
MOV
MOV
MOV
MOV
MOV
MOV
register 0 contains 30H, the accumulator and register 1 contain 40H, register B contains
10H, and on-chip RAM location 40H and output port 2 contain 0CAH (11001010B).
Variations
MOV A,#data
Binary Mode
Bytes:
States:
[Encoding]
0 1 1 1
Source Mode
3
2
6
5
1 0 0 1
AC
R0,#30H
;R0 < = 30H
A,@R0
;A < = 40H
R1,A
;R1 < = 40H
B,@R1
;B < = 10H
@R1,P1
;RAM (40H) < = 0CAH
P2,P1
;P2 #0CAH
Source Mode
2
2
1
1
0 1 0 0
immed. data
INSTRUCTION SET REFERENCE
t t t t
0 1 0 0
OV
N
Z
A-79

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc251sb8xc251sp8xc251sq

Table of Contents