Raised This Month: $51 Target: $400
 12% 

Converting code to psuedo assembly.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 09-11-2007 , 03:47   Converting code to psuedo assembly.
Reply With Quote #1

How can I see my code script this:
Code:
CALL Function
COMPARE+JUMP
CALL Function
COMPARE+JUMP
CALL Function
COMPARE+JUMP
I couldn't find a title for my question; because I don't know it's name
__________________

Last edited by Shaman; 09-11-2007 at 06:41.
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
pRED*
Join Date: Dec 2006
Old 09-11-2007 , 05:16   Re: [Blank Title]
Reply With Quote #2

I'm pretty sure thats just psuedo assembly that was hand made by bail...

You just have to understand assembly and how processors work (and how the sourcemod compiles converts sourcepawn to assembly)
pRED* is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 09-11-2007 , 06:41   Re: [Blank Title]
Reply With Quote #3

So it's called psuedo assembly. Nice

I thought he had a converter or something like that. I want to learn my plugins' call-comparison count, maximum ram usage, etc. I am just curious. (Yes, it killed the cat.)
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
BAILOPAN
Join Date: Jan 2004
Old 09-11-2007 , 12:26   Re: Converting code to psuedo assembly.
Reply With Quote #4

Use the -a option of spcomp.exe to see what it's doing with your code. It's very technical so most likely it won't be very useful to you.

The optimization guide wasn't intended for looking that deep at your code, it's to help you understand why certain practices might not be the best ideas.
__________________
egg
BAILOPAN is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 09-11-2007 , 12:58   Re: Converting code to psuedo assembly.
Reply With Quote #5

It looks cool I want to optimize my plugins and look at the changes; but memory, cpu usage, etc. is more important for me. How can I learn them.
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode