0
9.3kviews
Using string instructions write a program in 8086 assembly to copy a block ten bytes initialized in data segment to extra segment, Assume the necessary details.
1 Answer
0
352views
Label Instructions Comment
  MOV AX, 2000H Initialize data segment
  MOV DS, AX  
  MOV AX, 3000H Initialize destination segment
  MOV ES, AX  
  MOV SI, 0000H Initialize pointers
  MOV DI, 0000H  
  MOV CX, 000AH Initialize counter to size of block
  CLD Clear direction flag for auto-increment
REP: MOVSB Transfer block
  MOV AH, …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.