2017-03-27 08:43 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000309Cheat Enginepublic2015-04-29 01:40
Reportermgr_inz_Player 
Assigned ToDark Byte 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Summary0000309: FPU instructions in 64bit mode
DescriptionI'm really confused.

In 32bit we have
d9 1c 24 - fstp Dword ptr [esp]
dd 1c 24 - fstp Dword ptr [esp]




In 64bit there are issues.

Disassabler output (data crated with db command):
DD 1C 24 - fstp Qword ptr [rsp]
48 DD 1C 24 - fstp Qword ptr [rsp]
66 48 DD 1C 24 - fstp Qword ptr [rsp]
D9 1C 24 - fstp Dword ptr [rsp]
48 D9 1C 24 - fstp Dword ptr [rsp]
66 48 D9 1C 24 - fstp Dword ptr [rsp]
Some of above aren't correct



Assembler (I type those and I get opcodes):
fstp Dword ptr [rsp] - opcodes are D9 1C 24 - fstp Dword ptr [rsp]
fstp Qword ptr [rsp] - opcodes are 48 D9 1C 24 - fstp Dword ptr [rsp]






TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000647

mgr_inz_Player (reporter)

64bit assembler:

typing those:
"user input" => "CE assemblerUnit converts it to"
fstp Dword ptr [rsp] => D9 1C 24 - fstp dword ptr [rsp]
fstp Qword ptr [rsp] => 48 D9 1C 24 - fstp dword ptr [rsp] - BUG (should be "DD 1C 24")

fstp Dword ptr [rax] => D9 18 - fstp dword ptr [rax]
fstp Qword ptr [rax] => 48 D9 18 - fstp dword ptr [rax] - BUG (should be "DD 18")

~0000648

Dark Byte (developer)

fixed in the svn

~0000696

mgr_inz_Player (reporter)

Last edited: 2014-09-15 22:27

https://code.google.com/p/cheat-engine/source/detail?r=2357
The same goes to FST - we need another fix


and another
"fld qword ptr [rsp]" should be DD 04 24, not the 48 D9 04 24
"fld qword ptr [rax]" should be DD 00, not the 48 D9 00


and another
"fsub qword ptr [rsp]" should be DC 24 24, not the 48 D8 24 24
"fsub qword ptr [rax]" should be DC 20, not the 48 D8 20


and for other FPU commands.

~0000806

Dark Byte (developer)

should be fixed now
+Notes

-Issue History
Date Modified Username Field Change
2013-11-30 23:48 mgr_inz_Player New Issue
2014-02-05 20:26 mgr_inz_Player Note Added: 0000647
2014-02-06 11:55 Dark Byte Note Added: 0000648
2014-02-06 11:55 Dark Byte Status new => resolved
2014-02-06 11:55 Dark Byte Resolution open => fixed
2014-02-06 11:55 Dark Byte Assigned To => Dark Byte
2014-09-15 22:10 mgr_inz_Player Note Added: 0000696
2014-09-15 22:10 mgr_inz_Player Status resolved => feedback
2014-09-15 22:10 mgr_inz_Player Resolution fixed => reopened
2014-09-15 22:27 mgr_inz_Player Note Edited: 0000696
2015-04-29 01:40 Dark Byte Note Added: 0000806
2015-04-29 01:40 Dark Byte Status feedback => resolved
2015-04-29 01:40 Dark Byte Resolution reopened => fixed
+Issue History