t2 - mov bh,ah m mov ah,02 add bl,30h mov dl,bl int 21h i...

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

View Full Document Right Arrow Icon
;SQUARE OF SIX BY ADDING SIX IN ACCUMULATOR SIX TIMES S .model small .stack 100h .data . .code main proc mov ax,@data mov ds,ax m mov ax,0 mov cx,0 m loop1: add ax,6 add cx,2 cmp cx,12 jne loop1 j mov bl,10 div bl d mov bl,al
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 bh,ah m mov ah,02 add bl,30h mov dl,bl int 21h i mov ah,02 add bh,30h mov dl,bh int 21h ;mov dx,ax ;mov ah,02h ;add dl,30h ;int 21h ; mov ah,4ch int 21h i main endp end main e...
View Full Document

This note was uploaded on 11/06/2010 for the course UBIT 411 taught by Professor Saleemelahi during the Spring '10 term at University of Karachi.

Ask a homework question - tutors are online