ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
assume cs:code,ds:data
data segment
x db 0Ah,0Bh,0Ch,0Dh,0Eh;
data ends
code segment
start:mov ax,data
mov ds,ax
mov cx,05h
lea si,x+04
lea di,x+04+05
up:mov bl,[si]
mov[di],bl
dec si
dec di
dec cx
jnz up
mov ah,4ch
int 21h
code ends
end start
end

More Related Content

Ece2

  • 1. assume cs:code,ds:data data segment x db 0Ah,0Bh,0Ch,0Dh,0Eh; data ends code segment start:mov ax,data mov ds,ax mov cx,05h lea si,x+04 lea di,x+04+05 up:mov bl,[si] mov[di],bl dec si dec di dec cx jnz up mov ah,4ch int 21h code ends end start end