RE: Daily programming challenge #12 Assembler

You are viewing a single comment's thread from:

Daily programming challenge #12 Assembler

in daily •  8 years ago 

Almost all C++ compilers allow inline assembly. So you can do:

__asm
{
//assembly here
};

if you really don't want to have to deal with finding something that works well for debugging.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hello :-)

Yes, you are right, most C++ compilers (and other Langs. e.G. Pascal) allow inline Assembly, but they don't allow the acces to registers and system-calls (atleast I was never able to find that out.)

For the first time assembly, it might be better to use
nasm, ld and for debugging GDB.

If I'm wrong tell me ;-)

Enjoy my programming challenges, linuxer4Fun