edited by
7,100 views
0 votes
0 votes

An assembly program contains :

  1. imperative and declarative statements                 
  2. imperative and assembler directives           
  3. imperative and declarative statements as well as assembler directives           
  4. declarative statements and assembler directives
edited by

1 Answer

Best answer
1 votes
1 votes
ans: C

Kinds of statements in assembly language

An assembly program contains following three kinds of statements:
1. Imperative statements: These indicate an action to be performed during execution of the assembled program. Each imperative statement typically translates into one machine instruction.
2. Declaration statements: The syntax of declaration statements is as follows:
[Label] DS<constant>
[Label] DC ‘<value>’
The DS statement reserves areas of memory and associates names with them. The DC statement constructs memory words containing constants.
3. Assembler directives: These instruct the assembler to perform certain actions during the assembly of a program. For example
START <constant> directive indicates that the first word of the target program generated by the assembler should be placed in the memory word with address <constant>.

ref: http://study-for-exam.blogspot.in/2013/05/what-is-assembly-language-what-kinds-of.html

Related questions

0 votes
0 votes
1 answer
1
rishu_darkshadow asked Sep 26, 2017
7,704 views
Which of the following are Assembler Directives?(i) EQU (ii) ORIGIN (iii) START (iv) END(ii), (iii) and (iv) (i), (iii) and (iv) (iii) and (iv) ...
1 votes
1 votes
2 answers
2
1 votes
1 votes
1 answer
4