Embedding Assembly code in a C program?

How exactly do I embed an -asm{ ...  } code in a C program?

I am running this program on a Unix machine.
Who is Participating?
pksundarConnect With a Mentor Commented:
# pragma asm
#pragma end asm
...... represents the asembly code..
gotovapAuthor Commented:
I want to include code specific to AS assembler.

If possible, do give a short, sample code! THANKS!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.