What advantage does inline assembly code offer over the use of external assembly languageprocedures?
What advantage does inline assembly code offer over the use of external assembly languageprocedures?
Chapter6: System Integration And Performance
Section: Chapter Questions
Problem 33VE
Related questions
Question
What advantage does inline assembly code offer over the use of external assembly language
procedures?
Expert Solution
Step 1: Advantages of inline assembly code
Inline assembly code:
The Inline assembly code is the source code of an assembly language that is inserted directly into high level language programs.
Advantages of inline assembly code:
The inline assembly code offers the following advantages over the use of external assembly language procedures,
- The primary advantage is its simplicity because there are no external linking issues, naming problems, and parameter passing protocols the programmer needs to take care of.
- The inline code can execute more quickly, because it avoids the extra execution time required for calling and returning from an assembly language procedure.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning