Interfacing assembly language routines, Computer Engineering

Assignment Help:

By now you can write procedures both internal andexternal and pass parameters particularly through stack.Let's us use these concepts to see how assembly language can be interfaced to some high level language programs. It is very significant to learn this theorysince then you can combine the benefits of both the types of languages which is the ease of programming of high level languages and speed and scope of assembly language. Assembly language can be interfaced with most of the high level languages such as C, C + + and database management systems.

What are the major considerations for interfacing assembly to HLL? To answer it we need to answer below questions:

  • How is the subroutine invoked?
  • How are parameters passed?
  • How are the values returned?
  • How do you declare various segments so that they are consistent across calling program?

The answer to above questions are dependent on high level language (HLL). Let's take C Language as the language for interfacing. C Language is very useful for writing user interface programs though the code generated by a C compiler doesn't execute fast enough for graphics or telecommunications applications. So system programs are generally written with a combination of C and assembly language functions. The main user interface can be written in C and specialized high speed functions written in assembly language.


Related Discussions:- Interfacing assembly language routines

What is XML DTD (Document Type Definition), What is XML DTD (Document Type ...

What is XML DTD (Document Type Definition)? DTD is a document which defines legal building blocks of a particular XML document. This defines the document structure along with

Set up this problem as an lp problem, The Laser Computer Printer Company de...

The Laser Computer Printer Company decides monthly what to produce during the subsequent month. They produce three types of printers, the Laser Rocket, the Alpha Laser, and the La

Function modules are also external subroutines, Function Modules are also e...

Function Modules are also external Subroutines. True.

What is importance of ras and cas in sdram, What is importance of RAS and C...

What is importance of RAS and CAS in SDRAM? SDRAM acquires its address command into two address words. This uses a multiplex scheme to save input pins. The initial address word

What is a pre-processor, What is a pre-processor? A pre-processor is a ...

What is a pre-processor? A pre-processor is a program that procedure the source code before it passes by the compiler. It handles under the control of pre-processor directive.

What are the stages of data mining, What are the stages of data mining? ...

What are the stages of data mining? The procedure of data mining comprises three stages, which are given below: a) The initial exploration b) Model building c) Deploym

Mutation - canonical genetic algorithm, Mutation: However it may appea...

Mutation: However it may appear that the above recombinations are a little arbitrary that especially as points defining whether crossover and inversion occur are chosen random

Determine about the three-state gate, Determine about the three-state gate ...

Determine about the three-state gate A three-state gate is a digital circuit which shows three states. Two of them are equivalent to logic 1 and 0.  The third one is a high im

First order predicate logic - artificial intelligence, First Order Predicat...

First Order Predicate Logic : This is a more expressive logic because it is mostly builds on propositional logic by allowing us to needs as constants, variables, predicates,

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd