assembly language mul imul

8bit
mov ax,5 ( ax=0005)
mov bl,2  ( bx=0002)
mul bl (ax=al*bl = 05*02  = 000A)
so ax= 000A, which ah=00, al=0A

 mov dx,ax

mov ax,f001
mov bx,0007
div bx

0 comments em “assembly language mul imul”

Post a Comment

 

Personal I.T blogs Copyright © 2011 -- Template created by O Pregador -- Powered by Blogger