COMP ARCH MIDTERM Flashcards

1
Q

SAP 1 - sends to the memory the
address of

A

PROGRAM COUNTER

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

(SAP 1)The program is stored at the beginning of the memory with the first instruction at binary address _ _ _ _

A

0 0 0 1

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

(SAP 1) The program counter counts from _ _ _ _ to _ _ _ _

A

0000 to 1111

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

(SAP 1)It keeps track of the next instruction to be fetched and executed.

A

PROGRAM COUNTER

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

What in SAP 1 is also called a pointer

A

PROGRAM COUNTER

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

(SAP 1)includes the address and data
switch registers. These switch registers, which are
part of the input unit, allow you to send 4 address
bits and 8 data bits to the RAM. Instruction and data
words are written into the RAM before a computer
run.

A

input and MAR

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

MAR stands for

A

MEMORY ADDRESS REGISTER

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

(SAP 1) During a computer run, the address in the program counter is latched into the __________

A

MAR

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

(SAP 1)During a computer run what is latched into the MAR before applying this 4 bit address to the RAM

A

ADDRESS IN THE PROGRAM COUNTER ( 0000 - 1111 )

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

THE RAM IN SAP 1 IS WHAT SIZE

A

16X 8 static TTL RAM (128bits)

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

(SAP 1)-It can be programmed by means of the address and data switch registers.

A

RAM

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

(SAP 1)It allows you to store a program and data in the memory before a computer run.

A

RAM

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

(SAP 1) Before a computer run, the RAM receives __________from the MAR and a read operation is
performed.

A

4-bit addresses

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

(SAP 1)part of the control unit.

A

INSTRUCTION REGISTER

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

(SAP 1)The ________holds the instruction that has just been fetched from memory

A

INSTRUCTION REGISTER

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

(SAP 1) The contents of the instruction register is split up into _________

A

2 nibbles (half byte or 4 bits)

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

(SAP 1) For the instruction register, the upper nibble is a two state output that goes directly to the ________

A

“Controller-sequencer.”

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

(SAP 1)For the instruction register, the lower nibble is a three state output that is ________

A

Read onto the W bus when needed.

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

(SAP 1) a buffer register that
stores intermediate answers during a computer
run.

A

ACCUMULATOR

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

(SAP 1)How many bits come out of the Controller-Sequencer

A

12

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

(SAP 1)The 12 wires carrying the control word are
called the

A

control bus.

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

(SAP 1)How many bits does the RAM connect with the W bus

A

8 bits

23
Q

(SAP 1) What are the bidirectional components of SAP 1

A

ACCUMULATOR, INSTRUCTION REGISTER

24
Q

(SAP 1) How much bits does ACCUMULATOR, ADDER/SUBTRACTOR AND B REGISTER EACH HAVE

A

8 bits

25
Q

(SAP 1)What kind of ADDER-SUBTRACTOR does SAP 1 use?

A

2’s complement adder-subtractor

26
Q

(SAP 1)What Controller sequencer variable and what state does it need to be for a sum to appear in the adder-subtractor

A

Su (low)

27
Q

(SAP 1)What Controller sequencer variable and what state does it need to be for a difference to appear in the adder-subtractor

A

Su (high)

28
Q

(SAP 1) What component is asynchronous

A

Adder-Subtractor

29
Q

(SAP 1)another buffer register and is used in arithmetic operation.

A

B REGISTER

30
Q

(SAP 1)At the end of a computer run,
the accumulator contains the answer to the problem
being solved.

A

Output Register

31
Q

(SAP 1)a row of 8 light-emitting diodes.

A

BINARY DISPLAY

32
Q

(SAP 1) is the interface between hardware and software

A

INSTRUCTION SET

33
Q

Enumerate the control unit components of SAP 1

A

Program counter, instruction register, controller sequencer

34
Q

(SAP 1) Enumerate the 3 signals the controller sequencer emits

A

CONTROL WORD, CLEAR SIGNALS, CLOCK SIGNALS

35
Q

What provides commands to the processor, to tell it what it needs to do

A

INSTRUCTION SET

36
Q

(SAP 2) The program counter has a size of

A

16 bits

37
Q

(SAP 2) A what signal at what state resets the PC

A

CLR at LOW

38
Q

(SAP 2) The memory contains a reserved area called what and what range of addresses

A

2K ROM ranging from 0000H to 07FFH

39
Q

(SAP 2) This ROM
contains a program called _________that
initializes the computer on power-up, interprets
the keyboard inputs, and so forth.

A

Monitor

40
Q

(SAP 2) The rest of the memory is a ______ with addresses from _____ to _________

A

62K RAM - 0800H to FFFFH

41
Q

(SAP 2) The memory data register (MDR) is an

A

8-BIT BUFFER REGISTER

42
Q

(SAP 2) The output of the Memory Data Register sets up the

A

RAM

43
Q

(SAP 2) The memory data register receives data from
the bus before a ________, and it sends
data to the bus after a ____________.

A

write operation,
read operation

44
Q

(SAP 2) What is the size for the OPCODE

A

8 bits (instead of a nibble in sap1)

45
Q

(SAP 2) AN 8 Bit opcode can accomodate ______

A

256 instructions

46
Q

(SAP 2) The ___________produces the
control words or microinstructions that
coordinate and direct the rest of the computer.

A

controller-sequencer

47
Q

(SAP 2)The controller-sequencer produces the
______or ____________that
coordinate and direct the rest of the computer.

A

control words , microinstructions

48
Q

(SAP 2) the __________
determines how the registers react to the next
positive clock edge.

A

control word or microinstruction

49
Q

(SAP 2) For the accumulator, how many states to the ALU? To the W BUS?

A

2 state output
3 state output

50
Q

(SAP 2)Standard ALUs are commercially available
as _______.

A

integrated circuits

51
Q

(SAP 2) A ___________is a flip-flop that keeps track of a
changing condition during a computer run.

A

flag

52
Q

(SAP 2) ENUMERATE ALL THE REGISTERS USED

A

A, TMP, B, C

53
Q

(SAP 2) What are the constituents of the FLAG block

A

SIGN FLAG, ZERO FLAG

54
Q

(SAP 2) How many output ports

A

2