Question

The memory unit of a computer has 512K words of has an instruction format with 4 fields: opcode, add and memory address. Given that there are 4 addressing mode, 32-bit instruction, answer the following questions: 32 bits each. The computer ress mode, register address 50 register and 1. How large is the opcode? 2. How large is the address mode field? 3. How large is the register field? 4. How large is the memory address field?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

2) Given there are 4 addressing mode.

Address mode field = log24=2

4) Number of memory address=

Given there are 512 k words.

512k words= 29X 210=2(9+10)=219

memory address=19

3) Given registers=50

Since 25=32 which is less than 50 we will consider 26. Which is nearest value to 50

So 6 bits are required for register field. i.e register address bits=6.

1) Given Total instruction bits=32.

Total instruction bits=memory address+ register address bits + opcode + address mode field.

32=19+6+opcode+2;

Opcode=5

So the answers are:

1)5

2)2

3) 6

4)19

Add a comment
Know the answer?
Add Answer to:
The memory unit of a computer has 512K words of has an instruction format with 4...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • pls both ans Question 20 5 pts Suppose a computer has 32-bit instructions. The instruction set...

    pls both ans Question 20 5 pts Suppose a computer has 32-bit instructions. The instruction set consists of 64 different operations. All instructions have an opcode and two address fields (allowing for two addresses). The first of these addresses must be a register direct address, and the second must be a memory address. Expanding opcodes are not used. The machine has 16 registers. How many bits can be used for the memory address? Question 21 5 pts Suppose we have...

  • 31. A A digital computer has a memory unit with 32 bits per word. The instruction...

    31. A A digital computer has a memory unit with 32 bits per word. The instruction set consists of 128 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. How many bits are left for the address part of the instruction. 7 bits 17 bits 25 bits 32 bits

  • A digital computer has a memory unit with 24 bits per word. The instruction set consists...

    A digital computer has a memory unit with 24 bits per word. The instruction set consists of 199 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. [] How many bits are needed for the opcode? How many bits are left for the address part of the instruction? What is the maximum allowable size for memory? What is the largest signed...

  • A digital computer has a memory unit with 24 bits per word. The instruction set consists...

    A digital computer has a memory unit with 24 bits per word. The instruction set consists of 110 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. (10 points) How many bits are needed for the opcode? How many bits are left for the address part of the instruction? What is the maximum allowable size for memory? What is the largest...

  • A digital computer has a memory unit with 24 bits per word. The instruction set consists...

    A digital computer has a memory unit with 24 bits per word. The instruction set consists of 199 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. [8 marks] How many bits are needed for the opcode? How many bits are left for the address part of the instruction? What is the maximum allowable size for memory? What is the largest...

  • 2. Suppose that a 16M X 16 main memory is built using 512K X 8 RAM...

    2. Suppose that a 16M X 16 main memory is built using 512K X 8 RAM chips and memory is word addressable. a) How many RAM chips are necessary? ______ b) How many RAM chips are needed for each memory word? _______ c) How many address bits are needed for each RAM chip? _______ d) How many address bits are needed for all memory? _______ A digital computer has a memory unit with 24 bits per word. The instruction set...

  • A digital computer has a memory unit with 24 bits per word.

    A digital computer has a memory unit with 24 bits per word. the instructions set consists of 150 different operations. all instructions have an operation codepart(opcode) and an address part (allowing for only one address) Each instruction is stored in one word of memory.a. how many bits are needed for the opcodeb. how many bits are left for the address part of the instruction.c. What is the maximum allowable size of memory.d. what is the largest unsigned binary number that...

  • Question 20 5 pts Suppose a computer has 32-bit instructions. The instruction set consists of 64...

    Question 20 5 pts Suppose a computer has 32-bit instructions. The instruction set consists of 64 different operations. All instructions have an opcode and two address fields (allowing for two addresses). The first of these addresses must be a register direct address, and the second must be a memory address. Expanding opcodes are not used. The machine has 16 registers. What's the size of the largest memory space that can be addressed by this computer?Assume byte addressable memory.

  • Suppose a computer has 20-bit instructions. The instruction set consists of 32 different operations. All instructions have an opcode and two address fields (allowing for two addresses). The frst...

    Suppose a computer has 20-bit instructions. The instruction set consists of 32 different operations. All instructions have an opcode and two address fields (allowing for two addresses). The frst of these addresses must be a register, and the second must be memory. Expanding opcodes are not used. The machine has 16 registers. What is the maximum allowable size for memory? o 2 K byte O 14K byte O 11 K byte Next ยป ous Suppose a computer has 20-bit instructions....

  • a) A memory unit has 28-bit address lines and 64-bit input/output data lines. How many bytes...

    a) A memory unit has 28-bit address lines and 64-bit input/output data lines. How many bytes of data can this memory hold? How many words does it contain, and how large is each word? b) A memory unit consists of 32M words of 16-bit each. How many bits wide address lines and input-output data lines are needed to access this memory? c) A memory unit consists of 512K bytes of data. How many bits wide address lines are needed to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT