answersLogoWhite

0


Best Answer

Data1 segment

str1 db 'john cox'

str_length equ ($-str1); db 100 dup(?)

str2 db str_length dup(?)

data1 ends

code1 segment

assume cs:code1, ds:data1, es:data1

start: mov ax, data1

mov ds, ax

mov es, ax

lea si, str1

lea di, str2

mov cx, str_length

cld

rep movsb

mov ah, 4ch

int 21h

code1 ends

end start

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program to copy block of data from source to destination in 8086?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do extended access control list differ from standard access control list?

Standard Access Control Lists (ACLs) only allows you to permit or deny source addresses. You can not block based on protocol, port, or destination. Extended ACLS allow you to block traffic based on source address, destination address, source port, destination port, and protocol.


How Block moving program is writing in 8086 processor?

mov si,1300;source mov di.1500;destination mov ch,05;limit lo: mov al.[si] mov [di],al inc si inc di dec ch jnz lo


You block in at your destination at 2104 What if your RON is scheduled for 12 31 block to block What time will you depart the next day?

1014


What is a second-degree heart block?

In second-degree heart block, not every impulse reaches its destination.


What is the memcpy library used for in computer programming?

The memcpy library is used in computer programming to copy the value of numbers from a source to the memory block destination. Memcpy is frequently used in the C++ programming language.


Write a program in 8085 assembly language to transfer a memory block of 10 bytes starting from C000H and onwards to the location C050H and onwards?

its in mnemonics : get the hex code from internet. MVI B,10H(REGISTER B AS A COUNTER) LXI H,C000H(SOURCE REGISTER, H-L AS MEMORY POINTER) LXI D,C050H(DESTINATION REGISTER) L1: MOV A,M STAX D INX H INX D DCR B JNZ L1 RST 1


Why use throw in java in compare try-catch?

we use throws in our program so that we dont need to write try & catch block & to avoid the exception


Can you block the Internet?

You need a program called WFilter Enterprise to block the internet.


What is a vacation block that begins with r?

Block Island is a vacation destination with beaches and tourist attractions. It is located in the Atlantic Ocean and is part of Rhode Island.


How do you get rid of water in minecraft?

For flowing water, place another block on the 'source block' which will remove any water currently flowing from that block. For a pond or river though, every block is a source block, you just have to fill it in manually, or at least cover the top surface.


How do you you write 400 in a 4 Box in Professor Layton and Pandora's Box?

To write the number 400 in a space for 4 numbers, First little block write the number 4, second block write the number o and in the third block write another number o. Total = 400.


How do you write a words in block letters?

Block letters are the same as CAPITAL letters.