100% CORRECT ANSWERS
1. What is ISA stands for (in this course)?
Instruction Set Architecture
Interrupt Service Architecture
Information Services Analysis
Integrated Support Activity - Answer-A
2. How many bits does the PC (Program Counter register) of the Beta have?
4
8
16
32 - Answer-D
3. How many registers does the Beta have (exclude PC)?
16
31
32
128 - Answer-C
4. What is the special of R31 register?
It is a stack pointer
It is the fastest register
It is more power efficient
its value always reads as 0 and writes to R31 have no affect on its value. - Answer-D
5. How many memory locations can be accessed by Beta?
32 Bytes
4 Mbytes
32 Mbytes
4 GBytes - Answer-D
6. How many bytes does each word contains of the Beta?
1
4
8
32 - Answer-B
7. The "0x" prefix indicates when a number is in __________ notation.
,Binary
Octal
Decimal
Hexadecimal - Answer-D
8. In general, all program data will reside in __________.
Cpu
control unit
main memory
register - Answer-C
1. Which of the following instruction types does the Beta ISA have? (choose all that
apply)
Branch
High level language
Arithmetic and logical
Load and store
Interrupt - Answer-A C D
2. What is the size of all instruction encoding in Beta ISA?
32 bits
64 bits
Variable-length encoding for instructions
None of the others - Answer-A
3. How many fields does a Beta ALU instruction have?
2 (1 source operand, 1 destination operand)
3 (1 opcode, 1 source operands, 1 destination register)
4 (1 opcode, 2 source operands, 1 destination register)
5 (1 opcode, 3 source operands, 1 destination register) - Answer-C
4. What is the opcode for SUB instruction? (find your anwer in the "Beta
Documentation.pdf")
0b111000
0b101010
0b100001
0b10000000 - Answer-C
5. ADD(Ra,Rb,Rc) instruction asks the Beta do:
Ra = Rb + Rc
Rc = Ra + Rb
Ra = Rb if (Rc = 0)
Rc = Rb if (Ra = 0) - Answer-B
1. In the Beta instruction format with constant, the constant in _________ format.
unsigned binary
, one's complement
two's complement
sign-magnitude - Answer-C
2. In the Beta instruction format with constant, the constant operands in the range of
_________ (in decimal).
0 to 64000
-32000 to 32000
-32768 to 32767
0b8000 to 0b7FFF - Answer-C
3. What does the ADDC(R1,-3,R3) instruction do?
R3 = R1 + 3
R3 = R1 - 3
R1 = R3 + 3
R1 = R3 - 3 - Answer-B
4. A "C" suffix in some instruction (e.g ADDC, ANDC, SUBC) indicate _________.
the register stores content of data
the second operand is a constant
the second operand is a register
this is a Compare instruction - Answer-B
1. In this lesson, Mem[0x1008] means __________.
address of the current instruction
address of the next instruction
the stack pointer is 0x1008
contents of memory location 0x1008 - Answer-D
2. In this lesson, what does effective address - EA mean?
EA is actual address of location containing the referenced operand
EA is content of program counter
EA is the fist memory address
EA is the end of memory address - Answer-A
3. In some instruction of Beta, the word "literal" means _______.
a register
a memory location
a sign-extended 16-bit number
a unsign-extended 16-bit number - Answer-C
4. What does the LD(R0,5,R1) instruction do?
R0 = Mem[R1 + 5]
R1 = Mem[R0 + 5]
R1 = R0 + 5
R0 = R1 + 5