FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Uses Mnemonics as command words (for example LDA, STA and ADD)
A
High level code
B
Low level code
C
Assembly language
D
None of the above
Explanation: 

Detailed explanation-1: -In computer assembler (or assembly) language, a mnemonic is an abbreviation for an operation. It’s entered in the operation code field of each assembler program instruction. for example AND AC, 37 which means AND the AC register with 37 . so AND, SUB and MUL are mnemonic.

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

Detailed explanation-3: -Assembly language uses a mnemonic to represent, e.g., each low-level machine instruction or opcode, each directive, typically also each architectural register, flag, etc. Some of the mnemonics may be built in and some user defined. Many operations require one or more operands in order to form a complete instruction.

Detailed explanation-4: -STA (Store) Transfers a number from the accumulator to RAM. LDA (Load) Transfers a number from RAM to the accumulator.

There is 1 question to complete.