Chapter 1: Architecture Flashcards

1
Q

What is Architecture?

A

The Architecture is the programmers view of the microprocessor

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

Fundamental information about the microprocessor often required?

A
  • The instruction set – a set of commands like a programming language. They tend to be very basic commands such as add or subtract or jump.
  • Locations of memory containing data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Different architectures:

A
  • x86
  • PowerPC
  • ARM
  • MIPS
  • SPARC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

x86?

A

– the majority of personal computers are based around this architecture owned by Intel which started out in 1978 and has been continuously improved ever since.

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

PowerPC?

A

– prior to 2005/6 Apple PCs were built using this architecture made by Motorola & IBM.

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

ARM?

A

most dominant architecture used in mobile phones, since it uses less power and creates less heat. Used by Apple and Samsung.

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

MIPS?

A

has been used by Sony in some of their Playstation products.

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

SPARC?

A

developed by Sun Microsystems

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

Microprocessors: Connections to memory etc.

A

In a computer the microprocessor is separate to the memory and these elements are all connected together by the system bus, typically a number of parallel electrical wires.

The microprocessor controls the voltages on each of the electrical connections on the bus to read or write information from memory.

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

Microprocessors: Solitary functionality issues?

A

The microprocessor is pretty useless on its own; it needs memory, a clock signal to control the timing of the processor, and other peripheral devices so that it can communicate with the real world.

These are all the sorts of things you would see on the motherboard if you opened up your computer.

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

How is a microcontroller different from a microprocessor?

A

In contrast, a microcontroller consists of a microprocessor and all these other essential items on a single piece of silicon. This allows them to be embedded into systems out of sight of the user. The PIC16F84A that you will be using in the laboratory sessions is an example of a microcontroller.

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

Examples of where microcontrollers are used?

A
  • Toys
  • Anti-lock braking system
  • Washing machine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

EXAMPLE

Microcontroller at work:

The idea: You try to slow down your car on a slippery road, say ice or rain. You put on the brakes, the wheels stop turning suddenly because instead of rolling, they are now skidding across the surface. Your brakes are no longer slowing the car down. You can stop quicker by releasing the brakes so that the wheels continue to turn and then braking more slowly.

A

The solution with a microcontroller: Continuously read a sensor measuring the wheel speed to detect if the car is skidding. If skidding then reduce braking pressure to that wheel. If not, then allow normal braking. Repeat continuously.

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

Out of Von Neumann and Harvard, which is more susceptible to attack?

A

Von Neumann is more susceptible as it is easier to place a malicious file into the memory that can then be immediately compiled without going through the CPU.

The security of the system bus can also be questionable.

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