Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


ASM, how long does it take to execute one command?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
supercharger
Advanced Cheater
Reputation: 0

Joined: 06 Aug 2009
Posts: 61

PostPosted: Thu Nov 12, 2009 3:51 pm    Post subject: ASM, how long does it take to execute one command? Reply with quote

i have been adding codes to games, some times a module contains dozens of commands. some are repeatly loading or storing (fld fstp) of an memory address , and comparing (fcom fnstsw test).
i wonder if these extra codes will add too much load to the PC, or the execution time will exceed the time for each frame in the physics engine.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Nov 12, 2009 4:06 pm    Post subject: Reply with quote

unlikely. unless you are adding a really complicated loop it's unlikely you'll see any effect. you can't time it because different instructions take different number of clock cycles to execute on different processors. then bear in mind differing processor load as well.. you really can't answer that question.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Nov 12, 2009 11:20 pm    Post subject: Re: ASM, how long does it take to execute one command? Reply with quote

mlracing wrote:
i have been adding codes to games, some times a module contains dozens of commands. some are repeatly loading or storing (fld fstp) of an memory address , and comparing (fcom fnstsw test).
i wonder if these extra codes will add too much load to the PC, or the execution time will exceed the time for each frame in the physics engine.


god no.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites