lkml.org 
[lkml]   [2011]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectQuestion about missing "cld" in x86 string assembly code
Date
Hi, 

I notice that all x86 assembly code for string operations containing
"scasb, lodsb", etc does not have "cld" at the beginning.
Is this 100% safe?
Or in other words, how could we be sure that
there is no "std" generated by compiler somewhere just before
the string operations?


Thanks,

Nai


\
 
 \ /
  Last update: 2011-12-17 15:55    [W:0.025 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site