t - mov dx,ax mov ah,02h add dl,30h int 21h sub bx,2 cmp...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
;REVERSE ; .model small .stack 100h .data num dw 1,2,3,4,5,6,7,8 .code main proc mov ax,@data mov ds,ax m mov ax,0 mov bx,14 mov cx,16 m loop1: mov ax,[num+bx]
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: mov dx,ax mov ah,02h add dl,30h int 21h sub bx,2 cmp cx,bx sub cx,2 jne loop1 j mov ah,4ch int 21h i main endp end main e...
View Full Document

Ask a homework question - tutors are online