SlideShare a Scribd company logo
1 of 4
Flow Chart Start
Initialize HL pair as Source Pointer
Initialize C Reg to ’05H’ as Counter
Copy A wherever DE is pointing
Stop
Get value pointed by HL into A
Initialize DE pair as Dest. Pointer
X
X
Decrement C by 1
C=0?
Yes
No
Increment HL & DE Pointers by 1
Address Label Instruction Opcode
6200, 1, 2 LXI H,7100H
3, 4, 5 LXI D,7105H
6, 7 MVI C,05H
8 MOV A,M
9 STAX D
A INX H
B INX D
C DCR C
D, E, F JNZ UP
10 RST1
UP:
Flow Chart Start
Initialize HL pair as Array1 Pointer
Initialize C Reg to ’05H’ as Counter
Copy A wherever HL is pointing
Stop
Get value pointed by HL into B
Initialize DE pair as Array2 Pointer
X
X
Decrement C by 1
C=0?
Yes
No
Increment HL & DE Pointers by 1
Get value pointed by DE into A
Copy A wherever DE is pointing
Copy B into A
Address Label Instruction Opcode
6200, 1, 2 LXI H,7100H
3, 4, 5 LXI D,7105H
6, 7 MVI C,05H
8 MOV B,M
9 LDAX D
A MOV M,A
B MOV A,B
C STAX D
D INX H
E INX D
F DCR C
10, 11, 12 JNZ UP
13 RST1
UP:

More Related Content

More from Manoj Babar

Exp 8 LED Blinking using 8255.pptx
Exp 8 LED Blinking using 8255.pptxExp 8 LED Blinking using 8255.pptx
Exp 8 LED Blinking using 8255.pptxManoj Babar
 
Exp 7 IO & BSR Mode.pptx
Exp 7 IO & BSR Mode.pptxExp 7 IO & BSR Mode.pptx
Exp 7 IO & BSR Mode.pptxManoj Babar
 
Exp 5 Even & Odd No. Counting.pptx
Exp 5 Even & Odd No. Counting.pptxExp 5 Even & Odd No. Counting.pptx
Exp 5 Even & Odd No. Counting.pptxManoj Babar
 
Exp 4 Data Conversion (H2B, B2A).pptx
Exp 4 Data Conversion (H2B, B2A).pptxExp 4 Data Conversion (H2B, B2A).pptx
Exp 4 Data Conversion (H2B, B2A).pptxManoj Babar
 
Addition & subtraction using 8085 microprocessor
Addition & subtraction using 8085 microprocessorAddition & subtraction using 8085 microprocessor
Addition & subtraction using 8085 microprocessorManoj Babar
 
8051 addressing modes & instruction set
8051 addressing modes & instruction set8051 addressing modes & instruction set
8051 addressing modes & instruction setManoj Babar
 
8255 mode 1 & 2
8255 mode 1 & 28255 mode 1 & 2
8255 mode 1 & 2Manoj Babar
 

More from Manoj Babar (7)

Exp 8 LED Blinking using 8255.pptx
Exp 8 LED Blinking using 8255.pptxExp 8 LED Blinking using 8255.pptx
Exp 8 LED Blinking using 8255.pptx
 
Exp 7 IO & BSR Mode.pptx
Exp 7 IO & BSR Mode.pptxExp 7 IO & BSR Mode.pptx
Exp 7 IO & BSR Mode.pptx
 
Exp 5 Even & Odd No. Counting.pptx
Exp 5 Even & Odd No. Counting.pptxExp 5 Even & Odd No. Counting.pptx
Exp 5 Even & Odd No. Counting.pptx
 
Exp 4 Data Conversion (H2B, B2A).pptx
Exp 4 Data Conversion (H2B, B2A).pptxExp 4 Data Conversion (H2B, B2A).pptx
Exp 4 Data Conversion (H2B, B2A).pptx
 
Addition & subtraction using 8085 microprocessor
Addition & subtraction using 8085 microprocessorAddition & subtraction using 8085 microprocessor
Addition & subtraction using 8085 microprocessor
 
8051 addressing modes & instruction set
8051 addressing modes & instruction set8051 addressing modes & instruction set
8051 addressing modes & instruction set
 
8255 mode 1 & 2
8255 mode 1 & 28255 mode 1 & 2
8255 mode 1 & 2
 

Recently uploaded

EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 

Recently uploaded (20)

EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 

Exp 3 Block Transfer & Block Exchange.pptx

  • 1. Flow Chart Start Initialize HL pair as Source Pointer Initialize C Reg to ’05H’ as Counter Copy A wherever DE is pointing Stop Get value pointed by HL into A Initialize DE pair as Dest. Pointer X X Decrement C by 1 C=0? Yes No Increment HL & DE Pointers by 1
  • 2. Address Label Instruction Opcode 6200, 1, 2 LXI H,7100H 3, 4, 5 LXI D,7105H 6, 7 MVI C,05H 8 MOV A,M 9 STAX D A INX H B INX D C DCR C D, E, F JNZ UP 10 RST1 UP:
  • 3. Flow Chart Start Initialize HL pair as Array1 Pointer Initialize C Reg to ’05H’ as Counter Copy A wherever HL is pointing Stop Get value pointed by HL into B Initialize DE pair as Array2 Pointer X X Decrement C by 1 C=0? Yes No Increment HL & DE Pointers by 1 Get value pointed by DE into A Copy A wherever DE is pointing Copy B into A
  • 4. Address Label Instruction Opcode 6200, 1, 2 LXI H,7100H 3, 4, 5 LXI D,7105H 6, 7 MVI C,05H 8 MOV B,M 9 LDAX D A MOV M,A B MOV A,B C STAX D D INX H E INX D F DCR C 10, 11, 12 JNZ UP 13 RST1 UP: