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 .