We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

hi friends.......plz share your views about this GDB.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 72


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

First of all, high-level languages cannot enhance assembly since that is able to express everything the CPU can do. Basically, what a compiler generally does is to generate assembly or machine code (which has a 1:1 mapping to assembly language). The advantage of high-level languages can be simplicity, maintainability and portability.

It is possible to combine assembly with other languages if said languages support this. What you need to do is to assemble and compile the source files separately and then link the resulting object files (not executables!) with a linker. To support this, most assemblers/compilers have directives like to indicate whether a symbol is external or to be exported.

Furthermore, some languages support inline assembly (i.e., embedding assembly code directly in the source). For instance, the optional "asm" keyword in C and C++ indicates that a piece of code is to be assembled. The syntax and usage of this keyword varies from compiler to compiler so you need to check the documentation or at least look for examples.


© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service