COMPUTER SCIENCE AND ENGINEERING
COMPILER DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Address descriptor
|
|
Program counter
|
|
Register descriptor
|
|
Data descriptor
|
Detailed explanation-1: -A register descriptor is used to keep track of what is currently in each registers. The register descriptors show that initially all the registers are empty. An address descriptor stores the location where the current value of the name can be found at run time.
Detailed explanation-2: -Register descriptor keeps track of values stored in each register.
Detailed explanation-3: -A register descriptor is a data structure that provides information about a register in a computer’s processor. The register descriptor is used by the compiler and runtime system to manage the use of registers in the processor.
Detailed explanation-4: -Explanation: Address descriptor : Values of the names (identifiers) used in the program might be stored at different locations while in execution. Address descriptors are used to keep track of memory locations where the values of identifiers are stored.
Detailed explanation-5: -Register and Address Descriptors: A register descriptor contains the track of what is currently in each register. The register descriptors show that all the registers are initially empty. An address descriptor is used to store the location where current value of the name can be found at run time.