COMPILER DESIGN

CODE GENERATION

ROLE OF CODE GENERATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
High level languages have mnemonics
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Answer:False. Mnemonics are used in assembly language, not in fourth-level languages.

Detailed explanation-2: -Answer. Assembly language uses mnemonic codes or symbols.

Detailed explanation-3: -Answer: Assembly language uses a mnemonic to represent each low-level machine instruction or opcode, typically also each architectural register, flag, etc.

Detailed explanation-4: -It uses short mnemonic codes for instructions and allows the programmer to introduce names for blocks of memory that hold data.

There is 1 question to complete.