954,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Confused on __asm Help Appriciated

I know many assembly languages so my question isn't anything assembly related it's C++ related, I understand what __asm does and I've used it before but where's where I'm hung up on

__asm drops down to the assembly level for programming although it's not advisable to use it because it's not cross-platform compatible... How then is C++ compiled? It's got to be compiled to assembly as well, I've been hung up on this for a while. What does the compiler do that I can't do, not use specific processor features and just stick to general commands/opcodes.

Help would be appreciated as I would love to integrate assembly into my programs as the speed boost is tremendous wherever possible.

wiseguy12851
Newbie Poster
2 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

> I would love to integrate assembly into my programs

The assembly code that you would write is implementation dependent, and therefore non-portable.

vijayan121
Posting Virtuoso
1,606 posts since Dec 2006
Reputation Points: 1,159
Solved Threads: 287
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: