Good day. My project is about computing BMI using inches and pounds. So the user will input his height in inches and weight in pounds. I have already learned dividing and multiplying. I just don't know how to include the decimal points after dividing, because I have to multiply it again by 703, and only the whole number is multiplied by 703.
n1 dw 0
n2 dw 0
;gets input from user
xor dx, dx
mov ax, n1 ;n1 is the weight and n2 is the height so i'm dividing them
mov bx, n2
div bx
mov bx, ax ;answer is stored in bx
Any help would be greatly appreciated thank you!