0

idiv

assume ds:data, cs:cod data segment data ends cod segment start : mov ax, date mov ds, ax mov al, -10 mov ah, 0 mov bl, -2 idiv bl mov ax, 4c00h int 21h cod ends end start why idiv bl is 85 hex? if i divide AL register -10 (f6 hex) with BL register -2 (fe hex) i got 5 not 85 hex.

5th Apr 2020, 4:07 PM
tibi
tibi - avatar
3 Answers
+ 1
It work Thanks
5th Apr 2020, 6:31 PM
tibi
tibi - avatar