MICROPROCESSOR AND MICROCONTROLLER

ARM PROCESSOR

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The banked registers are used for ____
A
Switching between supervisor and interrupt mode
B
Extended storing
C
Same as other general purpose registers
D
None of the mentioned
Explanation: 

Detailed explanation-1: -The banked registers give rapid context switching for dealing with processor exceptions and privileged operations.

Detailed explanation-2: -Explanation: when switching from one mode to another, instead of storing the register contents somewhere else it’ll be kept in the duplicate registers and the new values are stored in the actual registers.

Detailed explanation-3: -A register bank is used for the programmable registers used by assembly language programmers. It can be viewed as the hardware equivalent of a software array. It has ports for reading and writing data given an index. Main memory and caches have similar interfaces for reading and writing data.

Detailed explanation-4: -If you change processor mode, a banked register from the new mode will replace an existing register. For example, when the processor is in the interrupt request mode, the instructions you execute still access registers named r13 and r14. However, these registers are the banked registers r13 irq and r14 irq.

There is 1 question to complete.