[b][red]This message was edited by ajtr211 at 2004-9-16 7:38:21[/red][/b][hr]
Please can anyone help me
to finish this program?

value0 dd 1.509
value1 dd ?
str1 BYTE "Enter a decimal number: ",0
main PROC

mov edx,offset str1 ;write str1 to output
call WriteString ;from my lib,say I enter 50
call ReadInt ;eax = dec num
mov value1,eax ;eax =puts 50 in value1
lea esi,value0 ;esi = 1.509
lea edi,value1 ;edi = 50

Can anyone finish this program
from here and multiply 50 by 1.509
to give an answer of 75.45 the
decimal point must show on the


main endp
end main

Thanks to everyone who trys
only I have got stuck.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!