EkendraOnLine
  • Home
    • Random
    • Local Guide Story
    • Media coverage
    • About
  • Engg
    • Master’s (Grad)
      • Sensor Networks
      • Network Security
      • Cloud Computing
    • Bachelor’s (Undergrad)
      • Course/Syllabus
      • C Programming Language
      • Communications
      • Computer Microprocessor and Archtiecture
      • Digital Electronics
      • Engineering Economics
      • Numerical Methods
      • Projects
      • Satellite Communications
  • Thesis
    • Research Papers & Journal
    • Thesis Guide
    • Thesis Topics
    • Poster Presentation
    • Research Writing
  • Downloads
    • Download LEACH protocol source code for Wireless Sensor Networks
    • Download Dell Webcam Driver Softwares for Vostro Laptops
    • Download Spice Mobile Phones Windows Installation Drivers
    • Download C-Media USB 3D Audio Controller – PD 552
  • Computing
    • Windows
    • Tutorials
    • Tech Talks
    • Internet
    • Gadgets
  • Pictography
    • 360 Photography
No Result
View All Result
  • Home
    • Random
    • Local Guide Story
    • Media coverage
    • About
  • Engg
    • Master’s (Grad)
      • Sensor Networks
      • Network Security
      • Cloud Computing
    • Bachelor’s (Undergrad)
      • Course/Syllabus
      • C Programming Language
      • Communications
      • Computer Microprocessor and Archtiecture
      • Digital Electronics
      • Engineering Economics
      • Numerical Methods
      • Projects
      • Satellite Communications
  • Thesis
    • Research Papers & Journal
    • Thesis Guide
    • Thesis Topics
    • Poster Presentation
    • Research Writing
  • Downloads
    • Download LEACH protocol source code for Wireless Sensor Networks
    • Download Dell Webcam Driver Softwares for Vostro Laptops
    • Download Spice Mobile Phones Windows Installation Drivers
    • Download C-Media USB 3D Audio Controller – PD 552
  • Computing
    • Windows
    • Tutorials
    • Tech Talks
    • Internet
    • Gadgets
  • Pictography
    • 360 Photography
No Result
View All Result
EkendraOnLine
No Result
View All Result

Write an assembly program to COPY A BLOCK OF DATA FROM ONE MEMORY TO ANOTHER

Ekendra Lamsal by Ekendra Lamsal
January 15, 2012
in Computer Microprocessor and Archtiecture
0

Write an assembly program to COPY A BLOCK OF DATA FROM ONE MEMORY TO ANOTHER

title copy a block of data from one memory to another

dosseg

.model small

.stack 100H

.code

main proc

mov ax, @data ; initialize ds register

mov ds, ax

mov SI, offset array1 ; source index

mov di, offset array2 ; destination index

mov cx, 06H ; for 6 data ie cx is implicit counter

BACK: mov al, [SI]

mov [di], al ; move [di], [si]

inc si

inc di

loop BACK ; loop always looks for counter cx

mov ax, 4C00H ; return to DOS

int 21H ; interrupt

main endp

.data

array1 db 01, 02, 03, 04, 05, 06

array2 db 6 dup (?) ; or dup(0) to initialize

result db?

end main

Visit our download section to download free simulators/ emulators and other essential engineering softwares or join the free update newsletters now.

Previous Post

Hardware Concept in Computer Graphics- Mouse and Pointing Devices

Next Post

Write an assembly program to REVERSE THE GIVEN DIGITS

Next Post

Write an assembly program to REVERSE THE GIVEN DIGITS

Please login to join discussion

Latest posts

  • e-Governance Expert in Nepal, Context of Federalization Question Answer
  • e-Governance system in Nepalese context of transition to federalism QnA
  • Faults quote by Mahatma Gandhi
  • Getting early access to Android 8.0 Oreo in OnePlus Phones (with Open Beta Program)
  • Kathmandu – the only city in Nepal
  • Google Clips vs Narrative Clip: Era of Machine learning and Wearable Cameras
  • How to force upgrade OnePlus? OP3/3T to 5 features, Android 8
  • Presuming a blogging rejuvenation
  • This is why You should always order the cheapest bottle of wine on the restaurant menu.
  • Alcohol consumption in Nepal Statistics

Advts.

Translate this site

2019 © EkendraOnLine.com

No Result
View All Result
  • Home
    • Random
    • Local Guide Story
    • Media coverage
    • About
  • Engg
    • Master’s (Grad)
      • Sensor Networks
      • Network Security
      • Cloud Computing
    • Bachelor’s (Undergrad)
      • Course/Syllabus
      • C Programming Language
      • Communications
      • Computer Microprocessor and Archtiecture
      • Digital Electronics
      • Engineering Economics
      • Numerical Methods
      • Projects
      • Satellite Communications
  • Thesis
    • Research Papers & Journal
    • Thesis Guide
    • Thesis Topics
    • Poster Presentation
    • Research Writing
  • Downloads
    • Download LEACH protocol source code for Wireless Sensor Networks
    • Download Dell Webcam Driver Softwares for Vostro Laptops
    • Download Spice Mobile Phones Windows Installation Drivers
    • Download C-Media USB 3D Audio Controller – PD 552
  • Computing
    • Windows
    • Tutorials
    • Tech Talks
    • Internet
    • Gadgets
  • Pictography
    • 360 Photography

2019 © EkendraOnLine.com