News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

How can i know it this running process handle value?

Started by akna, November 07, 2009, 11:25:52 AM

Previous topic - Next topic

redskull

Also, dedndave, your "optimized" version incurs two stack pointer arithmetic operations and two memory bus access (i.e. potential cache misses), not to mention lengthy dependencies.  The OR way is one single ALU uop, which can execute in half a clock cycle (or a third of one, on Core 2).  Like my girlfriend says, size isn't everything (though she's probably just being nice  :'( )

-r
Strange women, lying in ponds, distributing swords, is no basis for a system of government

jj2007

Quote from: redskull on November 08, 2009, 07:46:09 PM
The OR way is one single ALU uop, which can execute in half a clock cycle (or a third of one, on Core 2).

After all that cruel Microsoft-bashing, finally some positive remarks: short and crispy, and fast, too! This is probably the best API call in Windows history, I think we should make it obligatory for every decent assembler proggie.