Wednesday, September 29, 2010

MULTPLICATION FOR 16 BIT

.model small

data segment
a dw 1234H
b dw 0100H
data ends
code segment 
assume cs:code,ds:data
mov ax, data
mov ds, ax
mov ax, a
mov bx, b
mul bx
mov bx,dx
mov ah, 4cH
int 3H
code ends
end

No comments:

Post a Comment