Question: A computer has the flowing instruction and integer format. The instruction consists of 4 bits opcode, 1 bit (M) that indicates the mode and the

A computer has the flowing instruction and integer format. The instruction consists of 4 bits opcode, 1 bit (M) that indicates the mode and the remaining bits are used either for immediate (when M=0) or memory address (when M=1) (as shown below). Each memory location contains 16 bits. 0 3 4 5 15 Op (4 bits) 21 M (Operand) Imm/Mem (11 bit) Instruction Format Based on this, answer the following questions: (All answers must be in decimal, ie. for 243 enter 8, and so on) Assume that the immediate operand contains an unsigned number, what is the largest immediate operand? What is the largest memory size (in KBytes) that can be accessed directly? KB How many opcodes can be used for operations in this machine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
