What kinds of statements are present in an assembly language, Computer Engineering

Assignment Help:

What kinds of statements are present in an assembly language program? Discuss.

An assembly program contains subsequent three types of statements:
1. Imperative statements: These specify an action to be performed throughout execution of the assembled program. All imperative statement classically translates in one machine instruction.

2. Declaration statements: The syntax of declaration statements is as given below:
[Label]      DS< constant >
[Label]      DC '< value >'
The DS statement reserves regions of memory and related names with them. The DC statement constructs memory words having constants.

3. Assembler directives: These instruct the assembler to perform specific actions throughout the assembly of a program. For illustration:

START < constant > directive specifies that the first word of the target program generated through the assembler must be placed in the memory word along with address .


Related Discussions:- What kinds of statements are present in an assembly language

Computer graphics, source code for IMPLEMENTATION FOR ELECTROMAGNETIC INDUC...

source code for IMPLEMENTATION FOR ELECTROMAGNETIC INDUCTION

Why is c standard library needed, Why is C standard library needed?  C ...

Why is C standard library needed?  C Standard Library: C would have been a tough programming language in absence of the standard library. The standard library in C contains

Neural architectures, Neural architectures are appealing as mechanisms for...

Neural architectures are appealing as mechanisms for implementing intelligence for a number of reasons. Traditional AI programs tend to be brittle and overly sensitive to noise

What is clock gating, What is Clock Gating? Clock gating is one of the...

What is Clock Gating? Clock gating is one of the power-saving methods used on several synchronous circuits with the Pentium four processors. To save power, clock gating consid

What are the advantages of interviewing, What are the Advantages of Intervi...

What are the Advantages of Interviewing - Opportunity to motivate interviewee to give open and free answers to analyst's questions    -  allows analyst to probe for more f

What is a file, What is a file? A file is a named collection of relate...

What is a file? A file is a named collection of related information that is recorded on secondary storage. A file having either programs or data. A file has sure "structure" b

Which is most general phase structured grammar, Which is most general phase...

Which is most general phase structured grammar? Context – Sensitive is most common phase structured grammar.

What are the important tools of a three-tier client server, What are the im...

What are the important tools of a three-tier client server? In a three-tier or multi-tier environment, there the client implements the presentation logic or the client. The bus

Classes, write a program to copt values of object without using copy constr...

write a program to copt values of object without using copy constructor or = operator

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