View Single Post
Old 30-06-2016, 23:51   #36
fano
Senior Member
 
Iscritto dal: Nov 2005
Messaggi: 2095
E' praticamente la prima versione l'istruzione fadd viene ignorata!

Codice:
	
SystemVoidCosmosCompilerTestsBclSystemDoubleTestExecute.IL_0208.00: ;Asm
          mov dword EAX, [ESP + 4]

SystemVoidCosmosCompilerTestsBclSystemDoubleTestExecute.IL_0208.01: ;Asm
	  fild qword [ESP]

SystemVoidCosmosCompilerTestsBclSystemDoubleTestExecute.IL_0208.02: ;Asm
          test dword EAX, EAX

SystemVoidCosmosCompilerTestsBclSystemDoubleTestExecute.IL_0208.03: ;Asm
          JNS near SystemVoidCosmosCompilerTestsBclSystemDoubleTestExecute.IL_0208.LabelSign_Bit_Unset
	
SystemVoidCosmosCompilerTestsBclSystemDoubleTestExecute.IL_0208.04: ;Asm
         fadd dword [__ulong2double_const4]

SystemVoidCosmosCompilerTestsBclSystemDoubleTestExecute.IL_0208.LabelSign_Bit_Unset:

SystemVoidCosmosCompilerTestsBclSystemDoubleTestExecute.IL_0208.05: ;Asm
         fstp qword [ESP]
la costante č definita cosė:
__ulong2double_const4 db 95, 128, 0, 0, 0, 0, 0, 0

avevo provato a definirla come intero quindi cosė, ma non cambiava nulla era come se ci fosse 0:
__ulong2double_const4 db 0x5F800000
__________________
Cosmos C# Open Source Managed Operating System
Cosmos Thread Ufficiale
Cosmos Official Site Vuoi collaborare allo sviluppo? Unisciti alla chat!

Ultima modifica di fano : 30-06-2016 alle 23:56.
fano č offline   Rispondi citando il messaggio o parte di esso