Lecture 2 Flashcards

1
Q

Word size

A

Number of bits processed by a computer’s CPU in one go

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

Function of ALU

A

Performs Logic calculation

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

PC

A

Tells the CPU where to get the next instruction and When to execute

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

MAR

A

Memory address register - holds the address of the current instructions that is fetch from memory or holds the address in memory to which data is to be transfered to

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

MBR

A

Memory buffer register- holds the contents Found at the address held in the MAR or data is being transfered to the primary memory

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

CPU register

A

Used to store useful info(instructions and data)

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

ID

A

Instruction decoder- tells the ALU What to do with the data

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

CPU basic operation

A

To fetch instructions from the program memory (location of instruction which the pc determines)

Determine what to do with that data next [decoded]. This is performed by the ID

Consist of a single or sequence of actions and various parts of the CPU are electrically connected so that they can perform the desired operation. [executed]

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

Memory basic concept

A

If want to access a data, you need to know the address of the data so that it can extracted.

Byte is the smallest addressable But in I/O registers, to address individual bits can occur

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

5 memory types

A

RAM,ROM, EPROM (can be programmable but can be errased by UV light, EEPROM (can be programmable but can be erased using electical), FLASH (like EEPROM But can only erased in blocks)

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

Stack

A

a part of RAM that used to hold arguments and automatic variables

  • reminding the order in which a function is called so that it can be returned correctly
  • store address of the PC Especially used in interrupt
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

WREG

A
  • used for all arithmetic and Logic intructions
  • store ALU output result
  • connected go the ALU
  • one data can put in WREG and one in memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

STATUS

A

-contains arithmetic status of the ALU, reset status, and bank select bit for data memory, store special condition flags of the ALU Operation, store carry in calculation

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