MICROPROCESSOR AND MICROCONTROLLER

ARM PROCESSOR

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which are Instructions available in both the ARM and Thumb instruction sets to load and store multiple registers.
A
LDM & STM
B
CMP
C
MLA
D
None of the above
Explanation: 

Detailed explanation-1: -The list of registers loaded or stored can include: The address can be: The base register can be either:

Detailed explanation-2: -LDM-or load multiple-is my favorite assembly instruction of the ARM instruction set. Here’s why. Here, it takes a base register (in this case, r4 ) and a register set (in this case, r0, r1, r2, r3 ). It loads consecutive words from the address in the base register into the registers in the set.

Detailed explanation-3: -The Thumb instruction set is a subset of the most commonly used 32-bit ARM instructions. Thumb instructions are each 16 bits long, and have a corresponding 32-bit ARM instruction that has the same effect on the processor model.

Detailed explanation-4: -From the ARM ARM. LDRSB (Load Register Signed Byte) loads a byte from memory, sign-extends it to form a 32-bit word, and writes the result to a general-purpose register. LDRB (Load Register Byte) loads a byte from memory, zero-extends it to form a 32-bit word, and writes the result to a general-purpose register.

Detailed explanation-5: -Load Multiple Increment After (Load Multiple Full Descending) loads multiple registers from consecutive memory locations using an address from a base register.

There is 1 question to complete.