Multiplication - add [result],bl skip: shl bl,1 dec cl jnz...

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

View Full Document Right Arrow Icon
.model small .data multiplicand db 3 multiplier db 2 result db 0 .code main proc mov ax,@data mov ds,ax mov cl,4 mov bl,[multiplicand] mov dl,[multiplier] chkbit: shr dl,1 jnc skip
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: add [result],bl skip: shl bl,1 dec cl jnz chkbit mov ah,02 mov dl,[result] add dl,30h int 21h i mov ah,4ch int 21h i main endp end main...
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