Week 5 Flashcards

1
Q

What is ARM7TDMI

A
  • 32 bit microcontroller
  • Von Neumann architecture (later processors use modified harvard architecture)
  • 32 bit data bus so memory physically divided into 4 chips (memory banking)
  • 32 bit address bus (physical memory)
  • 32 bit instructions
  • 37 registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Compare 8086 x86 architecture and ARM7 architecture

A

8086:
- Instruction length varies from 1 to 6 bytes
- Misaligned data is allowed
- ALU works with both memory and registers
- Typical CISC architecture

ARM7:
- All instructions have the same length
- Only accept aligned data
- ALU operations only work with registers
- Typical RISC architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is CISC and RISC

A

CISC - complex instruction set computer
RISC - reduced instruction set computer

  • instruction set is the complete set of all the instructions in machine code that can be recognised and executed by the CPU
  • There is a fixed number of instructions that the CPU understands
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CISC vs RISC

A

CISC:
- Various size instruction
- Multiple fetch cycles
- Operation on memory and registers
- Multiple execution cycle
- Many addressing modes
- Large and complex instruction set
- Decoding: complex
- Poor pipelining
- Flexible but slow
- More power consumption
- Example: Intel x86

RISC:
- Fixed size instruction
- One fetch cycle
- Operation mostly on registers
- Less addressing modes
- Reduced and simple instruction set
- One execution cycle
- Decoding: simple
- Superior pipelining
- Rigid but fast
- Less power consumption
- Examples: ARM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ARM7 Pipeline

A

3-stage pipeline (fetch decode execute)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly