COMPUTER SCIENCE AND ENGINEERING
COMPUTER ARCHITECTURE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
0x0A
|
|
0x10
|
|
0xA0
|
|
0xFF
|
Detailed explanation-1: -A program counter is a register in a computer processor that contains the address (location) of the instruction being executed at the current time. As each instruction gets fetched, the program counter increases its stored value by 1.
Detailed explanation-2: -The program counter is automatically incremented by one after each instruction so that the next instruction can be loaded. However there are situations where you want to transfer the execution of the program to somewhere else.
Detailed explanation-3: -In ARM processors, the Program Counter is a 32-bit register which is also known as R15. The processor first fetches the instruction from the address stored in the PC. The fetched instruction is then decoded so that it can be interpreted by the microprocessor.
Detailed explanation-4: -memory address register (MAR)-holds the address of the current instruction that is to be fetched from memory, or the address in memory to which data is to be transferred.