Quiz 7.2

DIRECTIONS: Read each question carefully. Then click on the dot next to the answer that most closely fits the question. Try to answer all questions on this quiz and when you are done, click on the grade me button at the bottom.


Coverage: Section 7.2

  1. What do we call the short name-like codes that aid our memory when we write the instructions of an assembler program?
bionics
tectonics
phonemics
mnemonics

  1. There are 24 instructions in the CSC-1. What is the minimum number of bits you would need to encode each one uniquely?
4
5
12
16777216

  1. What is the escape code in the opcode field that tells us the opcode is actually 8 bits long, instead of 4?
1111
0000
1110
0001

  1. Which of the following instructions does not have an operand?
CAL
SHL
JC
AND

  1. Which instruction just "wastes time"?
LDI
JMP
HLT
NOP

  1. What is the only CSC-1 instruction that permits immediate data in it?
LDI
AND
SUB
JN

  1. Which of the following instructions causes the PC register to change?
JMP
ADD
JZ
CAL
none of them
all of them

  1. Which of the following instructions does not change the A register?
LDI
ADD
AND
CAL

  1. Which instruction changes the S register?
AND
S2A
A2S
JN

  1. Which instruction may not cause a jump to some instruction other than the next one in sequence?
JMP
CAL
RET
JP