Not entirely sure which stack site to post this question to, but I'll give this section a whirl. I have a question on my homework which reads as follows:
Instruction Set Architecture. You are designing the instruction set for a new type of computer. The computer has 64 instructions, 16 general-purpose registers. It supports a byte-addressable memory of up-to 32MB. Answer the following questions.
a. For a 3-operand ADD instruction that only uses register addressing mode, how long (number of bits) should the instruction be?
b. For a 2-operand ADD instruction, in which one of the operands is a memory location with direct addressing mode, how long (number of bits) should the instruction be?
Without completely giving the answer away, can someone help explain just what the question is exactly asking. I can't seem to grasp the concept.