COMP ARCH MIDTERM Flashcards

(54 cards)

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

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

25
(SAP 1)What kind of ADDER-SUBTRACTOR does SAP 1 use?
2's complement adder-subtractor
26
(SAP 1)What Controller sequencer variable and what state does it need to be for a sum to appear in the adder-subtractor
Su (low)
27
(SAP 1)What Controller sequencer variable and what state does it need to be for a difference to appear in the adder-subtractor
Su (high)
28
(SAP 1) What component is asynchronous
Adder-Subtractor
29
(SAP 1)another buffer register and is used in arithmetic operation.
B REGISTER
30
(SAP 1)At the end of a computer run, the accumulator contains the answer to the problem being solved.
Output Register
31
(SAP 1)a row of 8 light-emitting diodes.
BINARY DISPLAY
32
(SAP 1) is the interface between hardware and software
INSTRUCTION SET
33
Enumerate the control unit components of SAP 1
Program counter, instruction register, controller sequencer
34
(SAP 1) Enumerate the 3 signals the controller sequencer emits
CONTROL WORD, CLEAR SIGNALS, CLOCK SIGNALS
35
What provides commands to the processor, to tell it what it needs to do
INSTRUCTION SET
36
(SAP 2) The program counter has a size of
16 bits
37
(SAP 2) A what signal at what state resets the PC
CLR at LOW
38
(SAP 2) The memory contains a reserved area called what and what range of addresses
2K ROM ranging from 0000H to 07FFH
39
(SAP 2) This ROM contains a program called _________that initializes the computer on power-up, interprets the keyboard inputs, and so forth.
Monitor
40
(SAP 2) The rest of the memory is a ______ with addresses from _____ to _________
62K RAM - 0800H to FFFFH
41
(SAP 2) The memory data register (MDR) is an
8-BIT BUFFER REGISTER
42
(SAP 2) The output of the Memory Data Register sets up the
RAM
43
(SAP 2) The memory data register receives data from the bus before a ________, and it sends data to the bus after a ____________.
write operation, read operation
44
(SAP 2) What is the size for the OPCODE
8 bits (instead of a nibble in sap1)
45
(SAP 2) AN 8 Bit opcode can accomodate ______
256 instructions
46
(SAP 2) The ___________produces the control words or microinstructions that coordinate and direct the rest of the computer.
controller-sequencer
47
(SAP 2)The controller-sequencer produces the ______or ____________that coordinate and direct the rest of the computer.
control words , microinstructions
48
(SAP 2) the __________ determines how the registers react to the next positive clock edge.
control word or microinstruction
49
(SAP 2) For the accumulator, how many states to the ALU? To the W BUS?
2 state output 3 state output
50
(SAP 2)Standard ALUs are commercially available as _______.
integrated circuits
51
(SAP 2) A ___________is a flip-flop that keeps track of a changing condition during a computer run.
flag
52
(SAP 2) ENUMERATE ALL THE REGISTERS USED
A, TMP, B, C
53
(SAP 2) What are the constituents of the FLAG block
SIGN FLAG, ZERO FLAG
54
(SAP 2) How many output ports
2