ARM Embedded System Final Summary

Embedded review

1. Base addressing

LDR R2, [R3, #0X0C];
STR R1, [R0, #-4]!;

2. Determine whether the 8-bit image immediate value is legal


After converting the hexadecimal significant digits into binary, judge whether the significant digits (digits that can include all 1) are within 8, as the first one of the above question1000000111100, more than 8 digits, as in the second question above100101000, 6th place.

3. Determine whether the 8-bit image immediate value is legal

4. ARM7 three-stage pipeline

5. Point out the difference between MOV instruction and LDR instruction

MOV instructions can only manipulate data between registers. The operands of LDR can come from registers or memory, that is, LDR can read data from memory to registers.

6. What is the general function of the R13 register

Stack operations usually occur when subroutine calls, exceptions occur, or when the number of registers is insufficient during program operation, it is used to save the register data that will be used.

Guess you like

Origin blog.csdn.net/UCB001/article/details/108214368