I am programming Visual C++ 6.0, using inline asm. MSDN says that code with
inline asm is not fully portable to other hardware platforms. What does this
reffer to? On what platforms isn't the code portable?
Cristian
Not just hardware platforms, other compilers for the same target.
Microsoft's implementation of inline assembly language is not
conforming to the C++ language standard at all. And it won't work
with compilers from Borland, GNU, or Microtec, just to name a few,
that target the same 32-bit x86 processors.
So what MSDN should say is that all Visual C++ code with inline
assembly language is completely non-portable and locked into Visual
C++ forever, unless you are willing to translate it.
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq