View Single Post
  #4  
Old 12-30-2010, 07:25
Fyyre's Avatar
Fyyre Fyyre is offline
Fyyre
 
Join Date: Dec 2009
Location: 0°N 0°E / 0°N 0°E / 0; 0
Posts: 260
Rept. Given: 76
Rept. Rcvd 85 Times in 38 Posts
Thanks Given: 146
Thanks Rcvd at 336 Times in 114 Posts
Fyyre Reputation: 85
inline assembly language in functions? not really so useful, imho... for situations where it is, intrincs do well enough (imho, of course :)

i.e.

Code:
#define memopen()   _disable(); __writecr0(__readcr0() & (~(0x10000)));
#define memclose()  __writecr0(__readcr0() ^ 0x10000);  _enable();
atm... 60% of code I write is for nt kernel (x64).

-fyyre

Quote:
Originally Posted by unknownone View Post
this is one pice of crap for someone developing low level stuff with c++&asm

all the code should be rewrited in order to compile for x64 :(
Reply With Quote
The Following 2 Users Gave Reputation+1 to Fyyre For This Useful Post:
Git (12-30-2010), sendersu (12-31-2010)