Intel 8XC251SQ Microscope & Magnifier User Manual


 
A-79
INSTRUCTION SET REFERENCE
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: LJMP
(PC) (addr.15:0)
LJMP @WRj
Binary Mode Source Mode
Bytes: 32
States: 65
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:
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
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 Source Mode
Bytes: 22
States: 11
[Encoding] 1 0 0 0 1 0 0 1 t t t t 0 1 0 0
CY AC OV N Z
—————
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
[Encoding] 0 1 1 1 0 1 0 0 immed. data