ARM Flashcards
which type of architecture does ARM follow
Von Neumann architecture
when was ARM 1 prototype created
1985
what type of machine is ARM
Advanced RISC machine
what is core data path?
- data items are placed in register file (no direct manipulation in memory)
- two source registers and single result register
- a barrel shifter on the data path can preprocess data before it enters ALU
4, increment/decrement logic can update register content for sequential access independent of ALU
what is CISC design philosophy
- large instructions set
- reduce software complexity by increasing the complexity of processor architecture
- very small registers available
What is ARM design philosophy
- REDUCE POWER CONSUMPTION
- High CODE DENSITY
- price sensitive
- REDUCE AREA OF THE DIE taken up by the embedded processor
- INCORPORATED hardware debug technology (ICE)
what is arm core and how is it different from arm processor
ARM licenses its core out and other companies make processors based on its cores
What does this mean REDUCE AREA OF THE DIE taken up by the embedded processor
die area directly impacts the manufacturing cost, so to keep the cost low, reduced area is better. ARM focuses on designing compact and efficient processors that occupy minimal die area while still delivering optimal performance
What does this mean INCORPORATED hardware debug technology (ICE)
hardware debug technology facilitates software development and debugging process, streamline development process
What does high code density mean in ARM design philosophy
it tries to fit more instructions in a smaller memory footprint, crucial for devices with limited memory and embedded devices
what does break point and watch point support mean?
A breakpoint is a specific point in the program’s code where the execution of the program halts temporarily.
A watchpoint is a debugging feature that monitors the value of a variable or memory location during program execution.
what are the four major design rules of RISC
- instructions
- pipelines
- registers
- load-store architecture
what are some examples of CISC Design philosophy
Intel X86 family,motorola 68000 series
talk about registers
32 bits, hold either data or address
user mode: 16 data registers and 2 status registers
r0-r15
r13,r14, r15 0 special functions
r13 stack pointer
r14 link register( where return address is stored when a subroutine is called)
r15 PC
r13 and r14 can also be used as GPR
any instr which uses R0 canas well be used with any other GPR (1-13)
status registersL CPSR: current program status register
SPSR: saved program status register
RISC design philosophy
- characterized by limited no of instructions
- complex instr is obtained by a sequence of simple instructions
- software is complex but processor architecture is simple
- large no of registers requires
- pipelined instruction execution
In ARM7TDMI what does TDMI stand for can you explain eavh point
T - Thumb 16 but compressed instruction set
D - Onchip Debug request
M - enhanced Multiplier (yields 64 bit result)
I - Embedded ICE hardware to give on chip breakpoint and watchpoint support
Explain about the load-store architecture
load and store instruction transfers data between the register bank and the external memory
memory accesses are costly, slow processor down
separating memory access from data processing provides an advantage
you can use data items held in register banks multiple times without needing multiple memory accesses
addressing mode for every operand is fixed (no bytes for addressing mode info)
for all arithmetic/logical type register mode
load: memory -> register
store: register -> memory
Examples of RICS machines
ARM, Atmel AVR, MIPS , Power PC
draw the diagram for ARM core dataflow model
check ppt 31 slide 15
can you explain everything about registers in major design rules in RISC
- large general purpose register set
- any register can contain either data or address
can you explain everything about pipelines in major design rules in RISC
- The processing of instructions can be broken down into snaller units that can be executed in parallel by pipelines
- pipeline advances by one step on each cycle for maximum throughput
can you explain everything about instructions in major design rules in RISC
- reduced number of instructions
- execute in a single cycle
- compiler synthesizes complicated operations
- each instruction is a fixed length
Arms most successful cores and its advantages
ARM7TDMI
high code density, low power consumption
ARM is a key component of which devices
32-bit embedded systems, portable consumer devices
ARM core dataflow model
- functional units connected by data bus( data or instruction)
- von neumann ( data and instr share same bus)
- register file - 32 bit registers
- ARM instruction has 2 source and 1 desination register
- L/S inst: use the ALU to generate an address to be held in the address reg, and broadcasted on the address bus
- Result bus
how many bits are there in each register
32bits
what do general purpose registers hold?
Data or Address
In user mode how many registers are there
16 data registers
2 status registers