COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following commands would be used to end a program written in assembly language?
A
STOP
B
HALT
C
END
D
FINISH
Explanation: 

Detailed explanation-1: -The semicolon (; ) marks the end of the statement, and the comment is used to define this variable for the programmer.

Detailed explanation-2: -The program of instructions written in assembly language is known as the source program; an assembler program translates it into a machine language program, called an object program.

Detailed explanation-3: -"LDA” is the mnemonic for the opcode (load accumulator A) and “21” is the operand (an address given in base 10). The manner of specification of the target address is called the addressing mode of the machine language instruction. A program for translating assembly language programs is called an. assembler.

There is 1 question to complete.