INTRODUCTION TO MICROPEOCESSOR
MICROPROCESSOR BASICS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
1024 bits, 7 bits
|
|
1048 bits, 8 bits
|
|
1664 bits, 7 bits
|
|
1400 bits, 8bits
|
|
1 kilobits, 6 bits
|
Detailed explanation-1: -With only 4 bits for the instruction opcode, there’s a maximum of 16 different instructions, so the choice of which instructions to implement is challenging.
Detailed explanation-2: -Opcode size: It is the number of bits occupied by the opcode which is calculated by taking log of instruction set size. Operand size: It is the number of bits occupied by the operand. Instruction size: It is calculated as sum of bits occupied by opcode and operands.
Detailed explanation-3: -So having 6 bits for the opcode means only that you are able to encode up to 2^6=64 different instructions which can be interpreted in a single decode cycle.
Detailed explanation-4: -Five bits would allow 32 instructions total and 6 bits allows up to 64 instructions. Because 48 falls between 32 and 64, a 6-bit field must be used to ensure a complete set of unique binary opcodes. The opcode bit field defines the number line of opcode values. We call this number line the opcode space.