Beispiele für Multiplikation und Division

mov ax,57
mov bl, 5
div bl ; ah=2 al=11

mov dx,0
mov ax,4101 ; ax=1005h
mov bx, 11
div bx ; ax=0174h dx=009h

mov ax,337 ; 0151h
mov bl, 12
mul bl ; ax=03CCh
mov dx,0
mov ax,4101 ; ax=1005h
mov bx, 11
mul bx ; ax=B037h dx=0h



mov dx,0
mov ax,4101 ; ax=1005h
mov bx, 0F1h
mul bx ; ax=14B5h dx=000fh




Druckbare Version