Chapter 2: ARM Processor Fundamentals Flashcards
What is ARM core dataflow?
Uses a load/store architecture.
- Processor begins the execute instructions.
- Data are placed in register file (storage made of 32-bit registers.
- Register file buses to ALU or MAC and compute results.
- Load/store instructions use the ALU to generate address held in the address register.
- Load/store instructions the incrementor updates the address register before the ore reads/writes the next register value from or to the next sequential memory.
- Processor continues executing instructions until an exception or interrupt changes the flow.
Instruction set
list of operation/instruction that the hardware understands.
sign extend
converts signed 8-bit and 16-bit numbers to 32-bit values as they read from memory and placed in a register.
How does address register work?
if I want to read something for the memory, it comes from the address register.
how many register are in LEGv8?
32 registers
how many register are in LEGv8?
32 registers
What are registers?
Register is a storage which stores either data or an address
Program status registers
CPSR (Current Program Status Register) and SPSR (Saved Program Status Register)
Used to monitor and control internal operations. CPSR is a dedicated 32-bit register and resides in the register file.
How many modes can the process can operate, and what are them?
7
What is the control field?
Control field contains the processor mode, state, and interrupt mask bits. The flags field contains the condition flags.
Condition flags āSā
Updated by comparisons and the resultant of ALU operations.
Conditional Execution
Processor compares the condition attribute with the condition flags in cpsr. If they match, then execute instructions; otherwise ignore instructions.
What is the three-stage Pipeline?
Fetch (load an instruction from memory)
Decode (identifies the instruction to be executed)
Execute (processes the instruction and writes the result back to the register)
Pipeline speeds up execution by fetching the next instruction while other instructions are being decoded and executed.
load
fetch from memory, and places in regiester
What is a vector table
When exception/interrupt occurs, the processor sets to PC to a specific memory address.