0
14kviews
Write 8086 assembly language program to move a string of words from offset 1000h to offset 6000h. The Length of the string is 0Ch.
1 Answer
0
671views
Label Instructions Comment
  MOV AX, 0000H Initialize data segment
  MOV DS, AX  
  MOV ES, AX Initialize extra segment
  MOV SI, 1000H Initialize pointers
  MOV DI, 6000H  
  MOV CX, 03FFH Initialize counter
  CLD Clear direction flag
AGN: LODSB Load data from location pointed by SI,into AL and increment SI
  MOV AH, …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.