mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-11 02:31:22 +00:00
switch push for 8 byte values
This commit is contained in:
parent
26170dbedc
commit
9d5d021c30
1 changed files with 1 additions and 1 deletions
|
|
@ -17,8 +17,8 @@ namespace Cosmos.IL2CPU.X86.IL
|
|||
OpDouble xOp = ( OpDouble )aOpCode;
|
||||
|
||||
byte[] xBytes = BitConverter.GetBytes( xOp.Value );
|
||||
new CPU.Push { DestinationValue = BitConverter.ToUInt32(xBytes, 4) };
|
||||
new CPU.Push { DestinationValue = BitConverter.ToUInt32( xBytes, 0 ) };
|
||||
new CPU.Push { DestinationValue = BitConverter.ToUInt32( xBytes, 4 ) };
|
||||
Assembler.Stack.Push( new StackContents.Item( 4, typeof( Double ) ) );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue