English
Assembler Forum

Done: Assembler byte in Float transfiguring???

 
- Page 1 -



Andreas
Gaida
Hello I i want a byte worth from memory reading and this dan in a float worth umwandel and then on the FPU tab ST(0) with the Assembler commands fild send my trouble is that I not white How one with Assembler a byte worth in a Float worth umwandelt and my investigation Internet too without success was. would be me very forward and grateful his if me the someone demonstrating could How the goes.
MfG
Andreas
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
03/06/10  
 



« this Posting watts as Solution marked. »

byte in Long and Long in Float, byte in Long:
CompileMarkSeparation
and Long To Float will need you hold a Mem for the Sourcelong and a Mem for Targetfloat:
CompileMarkSeparationwhere then in Float flo the Longwert from dwo lying, wg. st(0) look at fstp. with XPSE can simply float(bytewert) [...]  write, circa a Bytewert to Float To konvertieren.

simply z.B. in a nProc testing:
CompileMarkSeparation
nProc Test

    parameters a&,b&
    //sinnfrei
    mov eax,a&
    mov ebx,b&
    push eax
    mov b&,ebx
    pop ebx
    mov a&,ebx
    return a&

endproc

 
03/06/10  
 




Andreas
Gaida
Viellen Thanks iF .
the hilf me very.
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
03/06/10  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

8.819 Views

Untitledvor 0 min.
funkheld12/11/22
p.specht06/10/21
Georg Teles01/09/16
ByteAttack08/22/14
More...

Themeninformationen

this Topic has 2 subscriber:

Andreas Gaida (2x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie