Week 1 Flashcards
A program is made of a series of what?
Instructions
A program’s instructions are stored where?
In the Program Memory
What register specifies the address of the next instruction to be executed?
The Program Counter (PC) register
What is the purpose of the Control Logic in the CPU block diagram?
To decode the instructions and use the resulting information to control other subsystems
What is the purpose of the Link Register (LR) ?
To store the return address when a branch and link instruction is used
What is it called when a CPU starts the next instruction before execution of the current instruction is completed ?
This is done to increase processing speed.
Pipelining
What four aspects of a processor can Architecture define?
1) Programmer’s model
2) Instruction set architecture
3) Exception model
4) Debug architecture
Cortex M0+ processors implement what type of architecture?
ARMv6-M
The ARM programming model uses load/store architecture. What is meant by load/store architecture?
Data must be loaded into registers before processing and then optional stored back in memory afterwards. Data cannot be processed from memory directly.
What are the two data types native to ARMv6-M?
Signed and unsigned 32-bit values.
Can a CPU use non-native data types?
Yes, but emulating them may require more instructions and take more time.
What is the purpose of the Stack Pointer (SP) register?
The stack pointer manages a data storage structure called the stack.
What is the purpose of the Program Counter (PC) register?
To store the address of the next instruction to be executed.
What is the purpose of the PRIMASK register?
The PRIMASK register will cause the CPU to ignore some types of exceptions if it is set to one.