COMP ARCH MIDTERM Flashcards
SAP 1 - sends to the memory the
address of
PROGRAM COUNTER
(SAP 1)The program is stored at the beginning of the memory with the first instruction at binary address _ _ _ _
0 0 0 1
(SAP 1) The program counter counts from _ _ _ _ to _ _ _ _
0000 to 1111
(SAP 1)It keeps track of the next instruction to be fetched and executed.
PROGRAM COUNTER
What in SAP 1 is also called a pointer
PROGRAM COUNTER
(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.
input and MAR
MAR stands for
MEMORY ADDRESS REGISTER
(SAP 1) During a computer run, the address in the program counter is latched into the __________
MAR
(SAP 1)During a computer run what is latched into the MAR before applying this 4 bit address to the RAM
ADDRESS IN THE PROGRAM COUNTER ( 0000 - 1111 )
THE RAM IN SAP 1 IS WHAT SIZE
16X 8 static TTL RAM (128bits)
(SAP 1)-It can be programmed by means of the address and data switch registers.
RAM
(SAP 1)It allows you to store a program and data in the memory before a computer run.
RAM
(SAP 1) Before a computer run, the RAM receives __________from the MAR and a read operation is
performed.
4-bit addresses
(SAP 1)part of the control unit.
INSTRUCTION REGISTER
(SAP 1)The ________holds the instruction that has just been fetched from memory
INSTRUCTION REGISTER
(SAP 1) The contents of the instruction register is split up into _________
2 nibbles (half byte or 4 bits)
(SAP 1) For the instruction register, the upper nibble is a two state output that goes directly to the ________
“Controller-sequencer.”
(SAP 1)For the instruction register, the lower nibble is a three state output that is ________
Read onto the W bus when needed.
(SAP 1) a buffer register that
stores intermediate answers during a computer
run.
ACCUMULATOR
(SAP 1)How many bits come out of the Controller-Sequencer
12
(SAP 1)The 12 wires carrying the control word are
called the
control bus.
(SAP 1)How many bits does the RAM connect with the W bus
8 bits
(SAP 1) What are the bidirectional components of SAP 1
ACCUMULATOR, INSTRUCTION REGISTER
(SAP 1) How much bits does ACCUMULATOR, ADDER/SUBTRACTOR AND B REGISTER EACH HAVE
8 bits
(SAP 1)What kind of ADDER-SUBTRACTOR does SAP 1 use?
2’s complement adder-subtractor
(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)
(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)
(SAP 1) What component is asynchronous
Adder-Subtractor
(SAP 1)another buffer register and is used in arithmetic operation.
B REGISTER
(SAP 1)At the end of a computer run,
the accumulator contains the answer to the problem
being solved.
Output Register
(SAP 1)a row of 8 light-emitting diodes.
BINARY DISPLAY
(SAP 1) is the interface between hardware and software
INSTRUCTION SET
Enumerate the control unit components of SAP 1
Program counter, instruction register, controller sequencer
(SAP 1) Enumerate the 3 signals the controller sequencer emits
CONTROL WORD, CLEAR SIGNALS, CLOCK SIGNALS
What provides commands to the processor, to tell it what it needs to do
INSTRUCTION SET
(SAP 2) The program counter has a size of
16 bits
(SAP 2) A what signal at what state resets the PC
CLR at LOW
(SAP 2) The memory contains a reserved area called what and what range of addresses
2K ROM ranging from 0000H to 07FFH
(SAP 2) This ROM
contains a program called _________that
initializes the computer on power-up, interprets
the keyboard inputs, and so forth.
Monitor
(SAP 2) The rest of the memory is a ______ with addresses from _____ to _________
62K RAM - 0800H to FFFFH
(SAP 2) The memory data register (MDR) is an
8-BIT BUFFER REGISTER
(SAP 2) The output of the Memory Data Register sets up the
RAM
(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
(SAP 2) What is the size for the OPCODE
8 bits (instead of a nibble in sap1)
(SAP 2) AN 8 Bit opcode can accomodate ______
256 instructions
(SAP 2) The ___________produces the
control words or microinstructions that
coordinate and direct the rest of the computer.
controller-sequencer
(SAP 2)The controller-sequencer produces the
______or ____________that
coordinate and direct the rest of the computer.
control words , microinstructions
(SAP 2) the __________
determines how the registers react to the next
positive clock edge.
control word or microinstruction
(SAP 2) For the accumulator, how many states to the ALU? To the W BUS?
2 state output
3 state output
(SAP 2)Standard ALUs are commercially available
as _______.
integrated circuits
(SAP 2) A ___________is a flip-flop that keeps track of a
changing condition during a computer run.
flag
(SAP 2) ENUMERATE ALL THE REGISTERS USED
A, TMP, B, C
(SAP 2) What are the constituents of the FLAG block
SIGN FLAG, ZERO FLAG
(SAP 2) How many output ports
2