Computer Science Ques 665

Question: Assembly language programs are written using

Options:

A) Hex code

B) Mnemonics

C) ASCII code

D) CTZ ALT

E) None of these

Show Answer

Answer:

Correct Answer: B

Solution:

  • Assembler programs are writ ten with short abbreviations called MNEMON1CS.In assembly language a mnemonic is a code, usually from 1 to 5 letters, that represents an opcode, a number. Programming in machine code. By supplying the computer with the numbers of the operations it must perform, can be quite a burden, because for every operation the corresponding number must be looked up or remembered. Looking up all numbers takes a lot of time and mis remembering a number may introduce computer bugs. Therefore a set of mnemonics was devised. Each number was represented by an alphabetic code.