COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

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 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-2: -An assembler converts assembly language into machine language.

Detailed explanation-3: -The label field allows the program to refer to a line of code by name. The label fields cannot exceed a certain number of characters.

Detailed explanation-4: -"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.