STATEMENT :
DATA EXCHANGE DATA BETWEEN HL AND DE REGISTER PAIRS
2.1. TO EXCHANGE DATA BETWEEN HL AND DE REGISTER PAIRS
2.2. TO EXCHANGE DATA BETWEEN BC AND DE REISTER PAIRS
2.3. TRANSFER A BLOCK OF DATA STORED IN MEMORY LOCATIONS IN ONE AREA STARTING FROM 8051H ONWARDS TO ANOTHER AREA STARTING FROM 8061H ONWARDS. THE NUMBER OF DATA (BYTES) TO BE TRANSFERRED IS STORED IN MEMORY LOCATION 8050H.
DATA EXCHANGE DATA BETWEEN HL AND DE REGISTER PAIRS
2.1. TO EXCHANGE DATA BETWEEN HL AND DE REGISTER PAIRS
2.2. TO EXCHANGE DATA BETWEEN BC AND DE REISTER PAIRS
2.3. TRANSFER A BLOCK OF DATA STORED IN MEMORY LOCATIONS IN ONE AREA STARTING FROM 8051H ONWARDS TO ANOTHER AREA STARTING FROM 8061H ONWARDS. THE NUMBER OF DATA (BYTES) TO BE TRANSFERRED IS STORED IN MEMORY LOCATION 8050H.
SN.
|
LABEL
|
MNEMONICS
|
MEMORY
|
MEMORY CONTENTS
| ||
OPCODE
|
LOW A/D
|
HIGH A/D
| ||||
2.1.
|
LXI D 2222H
|
8000
|
11
| |||
8001
|
22H
| |||||
8002
|
22H
| |||||
LHLD 1234H
|
8003
|
2A
| ||||
8004
|
34H
| |||||
8005
|
12H
| |||||
XCHG
|
8006
|
EB
| ||||
HLT
|
8007
|
76
| ||||
2.2.
|
LXI D 2222H
|
8000
|
11
| |||
8001
|
22H
| |||||
8002
|
22H
| |||||
LXI B 4444H
|
8003
|
01
| ||||
8004
|
44H
| |||||
8005
|
44H
| |||||
MOV H B
|
8006
|
60
|
Not sure if these 8 bit operations are allowed
| |||
MOV L C
|
8007
|
69
| ||||
XCHG
|
8008
|
EB
| ||||
MOV B H
|
8009
|
44
|
Not sure if these 8 bit operations are allowed
| |||
MOV C L
|
800A
|
4D
| ||||
HLT
|
800B
|
76
| ||||
Edit this to include The no. of data to be transferred to be stored in memory location 8050H
| ||||||
2.3.
|
LHLD 8051H
|
8000
|
2A
| |||
8001
|
51H
| |||||
8002
|
80H
| |||||
SHLD 8061H
|
8003
|
22
| ||||
8004
|
61H
| |||||
8005
|
80H
| |||||
HLT
|
8006
|
76
| ||||
Blogger Comments:
Emoticon Emoticon