In a computer, a memory unit is of size 256 KW where W stands for word. Word size is 32 bits. The instruction has four parts: addressing mode, operation code, register code and address part. An addressing mode part is used to specify one of two-addressing mode (direct or indirect). Register code part is used to specify one of the 64 registers. How many bits are there in addressing mode part, opcode part, register code part, and the address part?
1
addressing mode part takes 2 bit
2
register code takes 6 bit
3
address part takes 18 bit
4
opcode part takes 6 bit