MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In hexadecimal, what would be the next value of the Program Counter after 0x09 if it was incremented?
A
0x0A
B
0x10
C
0xA0
D
0xFF
Explanation: 

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.

There is 1 question to complete.