Explain the statements present in assembly language, Operating System

Assignment Help:

Explain the Statements Present in Assembly Language

An assembly program consists of subsequent three types of statements:

a. Imperative statements: this point out an action to be carried out during execution of the assembled program. Every imperative statement usually translates into one machine instruction.

b. Declaration statements: The syntax of declaration statements is like this:

        [Label]      DS
        [Label]      DC ‘

The DS statement reserves areas of memory and links names with them.
The DC statement constructs memory words containing constants.

c. Assembler directives: These instruct the assembler to carry out specific actions during the assembly of a program. For instance 
START directive points out that the first word of the target program generated by the assembler should be placed in the memory word along with address .


Related Discussions:- Explain the statements present in assembly language

Calculate the number of processes to avoid race condition, To evade race co...

To evade race condition, the maximum number of processes that may be at the same time inside the critical section is The maximum number of processes which may be at the same t

Dynamically linked segmentation system, Sharing segments between processes ...

Sharing segments between processes without requiring the same segment number is possible in a dynamically linked segmentation system. a. Define a system that permits sta

What are the different types of semaphore?, What are the different types of...

What are the different types of semaphore? Principally the semaphore is able to be classified into two on the basis of their values a)      Counting semaphore: In counting s

Time-Sharing Operating System, Advantages and disadvantages of time-sharing...

Advantages and disadvantages of time-sharing operating system

What is the main function of the memory-management unit, What is the main f...

What is the main function of the memory-management unit? The runtime mapping from virtual to physical addresses is done by a hardware device known as a memory management unit (

Contiguous-memory allocation, Compare contiguous-memory allocation with pur...

Compare contiguous-memory allocation with pure paging in the following aspects: 1. In support of dynamic memory allocation: most systems allow programs to allocate more memory t

What is banker''s algorithm, What is banker's algorithm? Banker's algor...

What is banker's algorithm? Banker's algorithm is a deadlock avoidance algorithm that is applicable to a resource-allocation system with multiple examples of each resource type

What is the cache coherency problem, Question: (a) Modern processors op...

Question: (a) Modern processors operate in one of two modes: one for the operating system and one for applications. What is the purpose of having these two modes? What are

LINUX, what is exit status

what is exit status

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