Answer:
For 32 bits Instruction Format:
OPCODE DR SR1 SR2 Unused bits
a) Minimum number of bits required to represent the OPCODE = 3 bits
There are 8 opcodes. Patterns required for these opcodes must be unique. For this purpose, take log base 2 of 8 and then ceil the result.
Ceil (log2 (8)) = 3
b) Minimum number of bits For Destination Register(DR) = 4 bits
There are 10 registers. For unique register values take log base 2 of 10 and then ceil the value. 4 bits are required for each register. Hence, DR, SR1 and SR2 all require 12 bits in all.
Ceil (log2 (10)) = 4
c) Maximum number of UNUSED bits in Instruction encoding = 17 bits
Total number of bits used = bits used for registers + bits used for OPCODE
= 12 + 3 = 15
Total number of bits for instruction format = 32
Maximum No. of Unused bits = 32 – 15 = 17 bits
OPCODE DR SR1 SR2 Unused bits
3 bits 4 bits 4 bits 4 bits 17 bits
Answer:
The answer to this question is given below in the explanation section.
Explanation:
This question is about to tell the best and suitable terms for the given descriptions in the question.
As we know that a computer program is based on sets of instructions. The CPU carries out the processing using the fetch decode and execute cycle.
It is responsible for implementing a sequence of instructions called a computer program that takes input, processes them, and outputs the result based on processing.
A CPU mainly has three components such as control unit, Arithmetic logic unit, and register.
The control unit controls all parts of the computer system. It manages the four basic operations of the Fetch Execute Cycle such as Fetch, Decode, Executes, and Storage.
So the correct terms of this question are:
Fetch: Gets next instruction
Decode: interprets the instruction
Execute: Carries out instruction.
Store: Save results of instruction.
The read-write type of memory helps in reading as well as writing data. This computer memory is used by users to continually update the data (to access (read from) or alter (write to) ) that is held on hardware storage devices. Internal or external hard disk drives, rewritable CDs or small flash drives can be all physical setups of read-write memory.
<span>B. Efficiency
(</span><span>effective training </span><span>techniques)</span>