Lecture 3 Flashcards

1
Q

What is the instruction format

A

The instruction format is the size and arrangment of components

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

What are the two major components

A

The function code also called opcode. This specifies the function or the operation performed.

The operand address which specify the locations of the operand

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

What is the basic instruction format of Memory-Reference , Register and Input and outupt instructions

A

MR = OPcode = 000 ~ 110

RR = 111, I = 0

IO = 111, I = 1

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

What is the operation code field of an instruction

A

This is a groput of bits that define various processor operations such as add, subtract, complement and shift.

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

What is the address format

A

This is the part of the instruction format that deals with specifying the address of operands.

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

What are the main methods

A

3-address machines;
2-address machines;
1-address machines;
0-address machines.

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

What is the instruction cycle

A

The instruction cycle (also known as the fetch–decode–execute cycle, or simply the fetch-execute cycle) is the cycle that the central processing unit (CPU) follows from boot-up until the computer has shut down in order to process instructions.

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

What is the instruction cycle

A

Instruction Cycle
Decode Instruction
Read EA from memeory
Execute Instruction

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

What are the registers involved in each instruction cycle

A

Memory address registers (MAR): It is connected to System Bus address lines. It specifies the address of a read or write operation in memory.

Memory Buffer Register (MBR): Also called Memory Data Register (MDR). It is connected to the system bus Data Lines. It holds the memory value to be stored, or the last value read from the memory.

Program Counter (PC): Holds the address of the next instruction to be fetched.

Instruction Register (IR): Holds the last instruction fetched

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

A computer consists of 5 functionally independent main parts

A

Input
Output
Memory
Arithmetic and Logic Unit
Control Unit

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

What are the three parts in a CPU

A

an Arithmetic and Logic Unit (ALU), a Control Unit (CU), and a set of registers

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

What are logic operations

A

Logic Operations: Logic operations include NOT, AND, OR, NAND, NOR, XOR.

These operations treat the input data as bit patterns and the result of the operation is also a bit pattern.

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

What are shift operation

A

Shift operations include logical shift and arithmetic shift operations

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

What type of opeartions do the ALU perform

A

Logic
Shift
Arithmetic operations

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

What are registers

A

Registers are fast stand-alone storage locations that hold data temporarily

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

Mention some types of registers

A

Data Registers:
Instruction Registers:
Program Counter

17
Q

What is the control unit for

A

The control unit controls the operation of each subsystem.

18
Q

What is the internal memory

A

A small, but extremely quick memory. It is used for any internal computations that need to be done fast without the added overhead of writing to external memory.

19
Q

What is the data buffer for

A

This buffer is a bi-directional device that holds outgoing data until the memory bus is ready for it or incoming data until the CPU is ready for it.

20
Q

What is the address latch

A

This group of latches maintain the address that the processor wihses to exhcange data with on the memory bus.

21
Q

What is the I/O ports

A

These ports represent the device interfaces that have been incorporated into the processor’s hardware.

22
Q

What are configuration registers

A

These registers contain the flags that represent the current configuration of the processor.

23
Q

What are functions of the processors

A

i To control the use of main storage to store data and instructions
ii. To control the sequence of operations
iii. To give commands to all parts of the computer system
iv. To carry out processing

24
Q

Describe the two division of the memory stystem

A

Primary memory: - Is the one exclusively associated with the processor and operates at the electronics speeds programs must be stored in this memory while they are being executed.

Secondary memory: - Is used where large amounts of data & programs have to be stored, particularly information that is accessed infrequently. Examples: - Magnetic disks & tapes, optical disks (i.e. CD-ROM’s), floppies etc.

25
Q

In earlier computers what was the most common form of random access storage for computer main memory

A

It was an array of doughnut-shaped ferromagnetic loops referred to as cores.