RSS Forums RSS
Please support our Assembly advertiser: Programming Forums
Views: 5944 | Replies: 14
Join Date: Apr 2007
Posts: 5
Reputation: aforarihant19 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aforarihant19 aforarihant19 is offline Offline
Newbie Poster

Re: Need help with 8086 assembly language

  #12  
Apr 27th, 2007
Originally Posted by mmahima2002 View Post
.data
short REAL4 0.1,1.0,10.0, 100.5, 1000.0, 400.0, 40.5, 60.6,8.9,10.1
count db 0ah
.code
Lea si, short
Mov cl, count
Loop1:
;moving the element to to ax register
Mov ax, [si]
;Push ax into first position
fld ax
;This instruction is used to find the logarithm of the top most element of the stack
FLDLG2
;Pop the element from the stack
Fstp dl
;displaying the value
Mov ah,02h
Int 21h
Loop Loop1

Mov ah,4ch
Int 21h


tanx buddy .... is it the answer for that question ...hope u dont mind ..and sorry for the troouble
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:14 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC