Which of the following do not represent memory reference instruction. Choose the correct answer from the options given below:A. 1 opcode mode = 1, opcode = 010 B. 0 opcode mode = 0, opcode = 111 C. 1 opcode mode = 1, opcode = 111 D. 1 opcode mode = 1, opcode = 110 E. 1 opcode mode = 1, opcode = 001
B & C only
In Mano’s basic computer a 16-bit instruction has a mode bit I (bit 15), a 3-bit opcode (bits 12–14) and a 12-bit address. Opcodes 000 to 110 are memory-reference instructions (AND, ADD, LDA, STA, BUN, BSA, ISZ) with I = 0 for direct and I = 1 for indirect addressing. Opcode 111 is not a memory reference: with I = 0 it is a register-reference instruction and with I = 1 it is an input-output instruction.
A — mode 1, opcode 010 (LDA, indirect): memory reference.
B — mode 0, opcode 111: register-reference instruction, so not a memory reference.
C — mode 1, opcode 111: input-output instruction, so not a memory reference.
D — mode 1, opcode 110 (ISZ, indirect): memory reference.
E — mode 1, opcode 001 (ADD, indirect): memory reference.
Only B and C fail to be memory-reference instructions; every other pairing contains at least one of the memory-reference formats A, D or E.
B & C only option is correct.
A byte addressable computer has a memory capacity of \(2^{m}\) Kbytes and can perform \(2^{n}\) operations. An instruction involving 3 operands and one operator needs a maximum of
Select the cost of given instruction
ADD 4(R1), * 8 (R2)______________
A machine has a 32-bit architecture with 1-word long instructions. It has 24 registers and supports an instruction set of size 40. Each instruction has five distinct fields, namely opcode, two source register identifiers, one destination register identifier, and an immediate value. Assuming that the immediate operand is an unsigned integer, its maximum value is ____________
A processor has 64 general-purpose registers and 50 distinct instruction types. An instruction is encoded in 32-bits. What is the maximum number of bits that can be used to store the immediate operand for the given instruction?
ADD R1, #25 // R1 = R1 + 25