Calling an Assembly Routine from C Program in KEIL C51 Compiler
Yaoqi Wang
Abstract
Yaoqi Wang
Abstract
In recent years,C language has become to develop the main tool of development microcontrollers,but in some special applications the assembly language programming is still needed.For example,Writing some interface protocols that request very strict time sequence.It must involve calling assembly routine from C program.That is mixed programming problems.The methods and principles of C and assembly language calling each other in KEIL C51 compiler are introduced in detail.Furthermore,the specification of mixed programming and the issues which should be paid more attention are elaborated through three specific examples.
OpenAlex reports 1 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
In recent years,C language has become to develop the main tool of development microcontrollers,but in some special applications the assembly language programming is still needed.For example,Writing some interface protocols that request very strict time sequence.It must involve calling assembly routine from C program.That is mixed programming problems.The methods and principles of C and assembly language calling each other in KEIL C51 compiler are introduced in detail.Furthermore,the specification of mixed programming and the issues which should be paid more attention are elaborated through three specific examples.
Key concepts: Compiler, Assembly language, Programming language, Computer science, Interface (matter), Microcontroller, Software engineering, Operating system