A digital computer has a memory unit with 32 bits per word. The instruction set consists of 150 different operations. All instructions have an operation code part (opcode), a register operand part (specifying one of 10 different registers) and a memory operand address part. Each instruction is stored in one word of memory.
(d) Can an instruction for this computer use (i) two memory operands and (ii) two register operands? If it can, explain how; if it cannot, explain why not.
I'm really not sure about this question. I think the answer to the first part is that an instruction be using two memory operands if a specified register contains a memory address and the instruction is something like ADD? Or am I not understanding the question?
As for (ii), I feel that the answer must be that it can, but I'm not sure how it's done and don't know how to search for the answer. edit: is the answer simply that a register operand can be placed in the memory operand part of the instruction?